home *** CD-ROM | disk | FTP | other *** search
/ Apple AUX 3.0 / Apple AUX 3.0.iso / System Folder / Control Panels / General Controls / General Controls.rsrc / bin.rsrc_cdev_-4064.txt < prev    next >
Text File  |  1991-04-25  |  165KB  |  2,993 lines

  1. start:
  2. 00000000  601E                     bra        +0x20 /* 00000020 */
  3. 00000002  1047                     movea.b    A0, D7
  4. 00000004  656E                     bcs        +0x70 /* 00000074 */
  5. 00000006  6572                     bcs        +0x74 /* 0000007A */
  6. 00000008  616C                     bsr        +0x6E /* 00000076 */
  7. 0000000A  2043                     movea.l    A0, D3
  8. 0000000C  6F6E                     ble        +0x70 /* 0000007C */
  9. 0000000E  7472                     moveq.l    D2, 0x72
  10. 00000010  6F6C                     ble        +0x6E /* 0000007E */
  11. 00000012  7300                     moveq.l    D1, 0x00
  12. 00000014  0000 6364                ori.b      D0, 0x64 /* 'd' */
  13. 00000018  6576                     bcs        +0x78 /* 00000090 */
  14. 0000001A  F020 372E                .pflush    0xF020, 0x372E // unimplemented
  15. 0000001E  3000                     move.w     D0, D0
  16. label00000020:
  17. 00000020  2C1F                     move.l     D6, [A7]+
  18. 00000022  6100 0194                bsr        +0x196 /* 000001B8 */
  19. 00000026  2F06                     move.l     -[A7], D6
  20. 00000028  4E56 FFF2                link       A6, -0x000E
  21. 0000002C  2F0E                     move.l     -[A7], A6
  22. 0000002E  2F3C 9978 2370           move.l     -[A7], 0x99782370
  23. 00000034  2F3C 5984 4403           move.l     -[A7], 0x59844403
  24. 0000003A  2F3C 3598 9345           move.l     -[A7], 0x35989345
  25. 00000040  2F0B                     move.l     -[A7], A3
  26. 00000042  6612                     bne        +0x14 /* 00000056 */
  27. 00000044  B2FC 0001                cmpa.w     A1, 0x1
  28. 00000048  6600 0160                bne        +0x162 /* 000001AA */
  29. 0000004C  3F3C 000C                move.w     -[A7], 0xC
  30. 00000050  A9C8                     syscall    SysBeep
  31. 00000052  6000 0156                bra        +0x158 /* 000001AA */
  32. label00000056:
  33. 00000056  B2FC 0000                cmpa.w     A1, 0x0
  34. 0000005A  6700 061E                beq        +0x620 /* 0000067A */
  35. 0000005E  B2FC 0002                cmpa.w     A1, 0x2
  36. 00000062  6700 0562                beq        +0x564 /* 000005C6 */
  37. 00000066  2F0B                     move.l     -[A7], A3
  38. 00000068  204B                     movea.l    A0, A3
  39. 0000006A  A069                     syscall    HGetState
  40. 0000006C  1F00                     move.b     -[A7], D0
  41. 0000006E  A029                     syscall    HLock
  42. 00000070  2653                     movea.l    A3, [A3]
  43. 00000072  B2FC 0001                cmpa.w     A1, 0x1
  44. // begin alternate branch 00000074-00000078
  45. label00000074:
  46. 00000074  0001 6772                ori.b      D1, 0x72 /* 'r' */
  47. // end alternate branch 00000074-00000078
  48. label00000074: // (misaligned)
  49. fn00000076:
  50. 00000076  6772                     beq        +0x74 /* 000000EA */
  51. 00000078  B2FC 0003                cmpa.w     A1, 0x3
  52. // begin alternate branch 0000007A-0000007E
  53. label0000007A:
  54. 0000007A  0003 6700                ori.b      D3, 0x0
  55. // end alternate branch 0000007A-0000007E
  56. label0000007A: // (misaligned)
  57. label0000007C:
  58. 0000007C  6700 07B0                beq        +0x7B2 /* 0000082E */
  59. // begin alternate branch 0000007E-00000090
  60. label0000007E:
  61. 0000007E  07B0 B2FC                bclr       [A0 + A3.w * 2 - 0x4], D3
  62. 00000082  0006 6700                ori.b      D6, 0x0
  63. 00000086  182A B2FC                move.b     D4, [A2 - 0x4D04]
  64. 0000008A  0005 6700                ori.b      D5, 0x0
  65. 0000008E  05FC                     .incomplete
  66. // end alternate branch 0000007E-00000090
  67. label0000007E: // (misaligned)
  68. 00000080  B2FC 0006                cmpa.w     A1, 0x6
  69. 00000084  6700 182A                beq        +0x182C /* 000018B0 */
  70. 00000088  B2FC 0005                cmpa.w     A1, 0x5
  71. 0000008C  6700 05FC                beq        +0x5FE /* 0000068A */
  72. label00000090:
  73. 00000090  B2FC 0007                cmpa.w     A1, 0x7
  74. 00000094  6700 1628                beq        +0x162A /* 000016BE */
  75. 00000098  B2FC 0004                cmpa.w     A1, 0x4
  76. 0000009C  6600 00FE                bne        +0x100 /* 0000019C */
  77. 000000A0  6100 0C96                bsr        +0xC98 /* 00000D38 */
  78. 000000A4  6100 0D3E                bsr        +0xD40 /* 00000DE4 */
  79. 000000A8  6100 16B6                bsr        +0x16B8 /* 00001760 */
  80. 000000AC  6100 0806                bsr        +0x808 /* 000008B4 */
  81. 000000B0  6000 00EA                bra        +0xEC /* 0000019C */
  82. fn000000B4:
  83. 000000B4  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  84. 000000B8  426B 00BC                clr.w      [A3 + 0xBC]
  85. 000000BC  B66B 00BA                cmp.w      D3, [A3 + 0xBA]
  86. 000000C0  6618                     bne        +0x1A /* 000000DA */
  87. 000000C2  202C 0006                move.l     D0, [A4 + 0x6]
  88. 000000C6  222B 00B6                move.l     D1, [A3 + 0xB6]
  89. 000000CA  307C 02F0                movea.w    A0, 0x2F0
  90. 000000CE  D290                     add.l      D1, [A0]
  91. 000000D0  B280                     cmp.l      D1, D0
  92. 000000D2  6D06                     blt        +0x8 /* 000000DA */
  93. 000000D4  377C 0001 00BC           move.w     [A3 + 0xBC], 0x1
  94. label000000DA:
  95. 000000DA  3743 00BA                move.w     [A3 + 0xBA], D3
  96. 000000DE  276C 0006 00B6           move.l     [A3 + 0xB6], [A4 + 0x6]
  97. 000000E4  4CDF 0303                movem.l    D0,D1,A0,A1, [A7]+
  98. 000000E8  4E75                     rts
  99. label000000EA:
  100. 000000EA  61C8                     bsr        -0x36 /* 000000B4 */
  101. 000000EC  0C43 0001                cmpi.w     D3, 0x1
  102. 000000F0  6700 0F2A                beq        +0xF2C /* 0000101C */
  103. 000000F4  0C43 0006                cmpi.w     D3, 0x6
  104. 000000F8  6F00 0082                ble        +0x84 /* 0000017C */
  105. 000000FC  0C43 000A                cmpi.w     D3, 0xA /* '\n' */
  106. 00000100  6F3A                     ble        +0x3C /* 0000013C */
  107. 00000102  0C43 0018                cmpi.w     D3, 0x18
  108. 00000106  6C04                     bge        +0x6 /* 0000010C */
  109. 00000108  6000 0092                bra        +0x94 /* 0000019C */
  110. label0000010C:
  111. 0000010C  0C43 0019                cmpi.w     D3, 0x19
  112. 00000110  6F4A                     ble        +0x4C /* 0000015C */
  113. 00000112  0C43 001E                cmpi.w     D3, 0x1E
  114. 00000116  6700 15A6                beq        +0x15A8 /* 000016BE */
  115. 0000011A  0C43 001D                cmpi.w     D3, 0x1D
  116. 0000011E  6700 159E                beq        +0x15A0 /* 000016BE */
  117. 00000122  0C43 001B                cmpi.w     D3, 0x1B
  118. 00000126  6700 00A4                beq        +0xA6 /* 000001CC */
  119. 0000012A  0C43 001A                cmpi.w     D3, 0x1A
  120. 0000012E  6700 0104                beq        +0x106 /* 00000234 */
  121. 00000132  0C43 001F                cmpi.w     D3, 0x1F
  122. 00000136  6C00 0A82                bge        +0xA84 /* 00000BBA */
  123. 0000013A  6060                     bra        +0x62 /* 0000019C */
  124. label0000013C:
  125. 0000013C  6100 1622                bsr        +0x1624 /* 00001760 */
  126. 00000140  6106                     bsr        +0x8 /* 00000148 */
  127. 00000142  6100 05C0                bsr        +0x5C2 /* 00000704 */
  128. 00000146  6054                     bra        +0x56 /* 0000019C */
  129. fn00000148:
  130. 00000148  3C3C 0003                move.w     D6, 0x3
  131. 0000014C  3A3C 000A                move.w     D5, 0xA /* '\n' */
  132. label00000150:
  133. 00000150  6100 0154                bsr        +0x156 /* 000002A6 */
  134. 00000154  5345                     subq.w     D5, 1
  135. 00000156  51CE FFF8                dbf        D6, -0xA /* 00000150 */
  136. 0000015A  4E75                     rts
  137. label0000015C:
  138. 0000015C  6100 1602                bsr        +0x1604 /* 00001760 */
  139. 00000160  6106                     bsr        +0x8 /* 00000168 */
  140. 00000162  6100 05F8                bsr        +0x5FA /* 0000075C */
  141. 00000166  6034                     bra        +0x36 /* 0000019C */
  142. fn00000168:
  143. 00000168  3C3C 0001                move.w     D6, 0x1
  144. 0000016C  3A3C 0019                move.w     D5, 0x19
  145. label00000170:
  146. 00000170  6100 0134                bsr        +0x136 /* 000002A6 */
  147. 00000174  5345                     subq.w     D5, 1
  148. 00000176  51CE FFF8                dbf        D6, -0xA /* 00000170 */
  149. 0000017A  4E75                     rts
  150. label0000017C:
  151. 0000017C  6100 15E2                bsr        +0x15E4 /* 00001760 */
  152. 00000180  6106                     bsr        +0x8 /* 00000188 */
  153. 00000182  6100 0676                bsr        +0x678 /* 000007FA */
  154. 00000186  6014                     bra        +0x16 /* 0000019C */
  155. fn00000188:
  156. 00000188  3C3C 0002                move.w     D6, 0x2
  157. 0000018C  3A3C 0006                move.w     D5, 0x6
  158. label00000190:
  159. 00000190  6100 0114                bsr        +0x116 /* 000002A6 */
  160. 00000194  5345                     subq.w     D5, 1
  161. 00000196  51CE FFF8                dbf        D6, -0xA /* 00000190 */
  162. 0000019A  4E75                     rts
  163. label0000019C:
  164. 0000019C  161F                     move.b     D3, [A7]+
  165. 0000019E  265F                     movea.l    A3, [A7]+
  166. 000001A0  204B                     movea.l    A0, A3
  167. 000001A2  A02A                     syscall    HUnlock
  168. 000001A4  204B                     movea.l    A0, A3
  169. 000001A6  1003                     move.b     D0, D3
  170. 000001A8  A06A                     syscall    HSetState
  171. label000001AA:
  172. 000001AA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  173. 000001AE  2C5F                     movea.l    A6, [A7]+
  174. 000001B0  4E5E                     unlink     A6
  175. 000001B2  205F                     movea.l    A0, [A7]+
  176. 000001B4  2E8B                     move.l     [A7], A3
  177. 000001B6  4ED0                     jmp        [A0]
  178. fn000001B8:
  179. 000001B8  205F                     movea.l    A0, [A7]+
  180. 000001BA  245F                     movea.l    A2, [A7]+
  181. 000001BC  265F                     movea.l    A3, [A7]+
  182. 000001BE  285F                     movea.l    A4, [A7]+
  183. 000001C0  381F                     move.w     D4, [A7]+
  184. 000001C2  3E1F                     move.w     D7, [A7]+
  185. 000001C4  361F                     move.w     D3, [A7]+
  186. 000001C6  325F                     movea.w    A1, [A7]+
  187. 000001C8  9647                     sub.w      D3, D7
  188. 000001CA  4ED0                     jmp        [A0]
  189. label000001CC:
  190. 000001CC  0C6B 0003 003A           cmpi.w     [A3 + 0x3A], 0x3
  191. 000001D2  66C8                     bne        -0x36 /* 0000019C */
  192. 000001D4  303C 001B                move.w     D0, 0x1B
  193. 000001D8  6100 04FA                bsr        +0x4FC /* 000006D4 */
  194. 000001DC  514F                     subq.w     A7, 8
  195. 000001DE  3F3C F03E                move.w     -[A7], 0xF03E
  196. 000001E2  A9BC                     syscall    GetPicture
  197. 000001E4  4A97                     tst.l      [A7]
  198. 000001E6  660A                     bne        +0xC /* 000001F2 */
  199. 000001E8  584F                     addq.w     A7, 4
  200. 000001EA  3F3C 0001                move.w     -[A7], 0x1
  201. 000001EE  6100 1ABA                bsr        +0x1ABC /* 00001CAA */
  202. label000001F2:
  203. 000001F2  2F17                     move.l     -[A7], [A7]
  204. 000001F4  2057                     movea.l    A0, [A7]
  205. 000001F6  A04A                     syscall    HNoPurge
  206. 000001F8  486E FFF2                pea.l      [A6 - 0xE]
  207. 000001FC  A8F6                     syscall    DrawPicture
  208. 000001FE  205F                     movea.l    A0, [A7]+
  209. 00000200  A049                     syscall    HPurge
  210. 00000202  307C 0007                movea.w    A0, 0x7
  211. 00000206  A03B                     syscall    Delay
  212. 00000208  3F3C F037                move.w     -[A7], 0xF037
  213. 0000020C  A9BC                     syscall    GetPicture
  214. 0000020E  4A97                     tst.l      [A7]
  215. 00000210  660A                     bne        +0xC /* 0000021C */
  216. 00000212  584F                     addq.w     A7, 4
  217. 00000214  3F3C 0001                move.w     -[A7], 0x1
  218. 00000218  6100 1A90                bsr        +0x1A92 /* 00001CAA */
  219. label0000021C:
  220. 0000021C  2F17                     move.l     -[A7], [A7]
  221. 0000021E  2057                     movea.l    A0, [A7]
  222. 00000220  A04A                     syscall    HNoPurge
  223. 00000222  486E FFF2                pea.l      [A6 - 0xE]
  224. 00000226  A8F6                     syscall    DrawPicture
  225. 00000228  205F                     movea.l    A0, [A7]+
  226. 0000022A  A049                     syscall    HPurge
  227. 0000022C  6100 1532                bsr        +0x1534 /* 00001760 */
  228. 00000230  6000 FF6A                bra        -0x94 /* 0000019C */
  229. label00000234:
  230. 00000234  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  231. 0000023A  6600 FF60                bne        -0x9E /* 0000019C */
  232. 0000023E  4AAB 002C                tst.l      [A3 + 0x2C]
  233. 00000242  6700 FF58                beq        -0xA6 /* 0000019C */
  234. 00000246  303C 001A                move.w     D0, 0x1A
  235. 0000024A  6100 0488                bsr        +0x48A /* 000006D4 */
  236. 0000024E  514F                     subq.w     A7, 8
  237. 00000250  3F3C F03F                move.w     -[A7], 0xF03F
  238. 00000254  A9BC                     syscall    GetPicture
  239. 00000256  4A97                     tst.l      [A7]
  240. 00000258  660A                     bne        +0xC /* 00000264 */
  241. 0000025A  584F                     addq.w     A7, 4
  242. 0000025C  3F3C 0001                move.w     -[A7], 0x1
  243. 00000260  6100 1A48                bsr        +0x1A4A /* 00001CAA */
  244. label00000264:
  245. 00000264  2F17                     move.l     -[A7], [A7]
  246. 00000266  2057                     movea.l    A0, [A7]
  247. 00000268  A04A                     syscall    HNoPurge
  248. 0000026A  486E FFF2                pea.l      [A6 - 0xE]
  249. 0000026E  A8F6                     syscall    DrawPicture
  250. 00000270  205F                     movea.l    A0, [A7]+
  251. 00000272  A049                     syscall    HPurge
  252. 00000274  307C 0007                movea.w    A0, 0x7
  253. 00000278  A03B                     syscall    Delay
  254. 0000027A  3F3C F038                move.w     -[A7], 0xF038
  255. 0000027E  A9BC                     syscall    GetPicture
  256. 00000280  4A97                     tst.l      [A7]
  257. 00000282  660A                     bne        +0xC /* 0000028E */
  258. 00000284  584F                     addq.w     A7, 4
  259. 00000286  3F3C 0001                move.w     -[A7], 0x1
  260. 0000028A  6100 1A1E                bsr        +0x1A20 /* 00001CAA */
  261. label0000028E:
  262. 0000028E  2F17                     move.l     -[A7], [A7]
  263. 00000290  2057                     movea.l    A0, [A7]
  264. 00000292  A04A                     syscall    HNoPurge
  265. 00000294  486E FFF2                pea.l      [A6 - 0xE]
  266. 00000298  A8F6                     syscall    DrawPicture
  267. 0000029A  205F                     movea.l    A0, [A7]+
  268. 0000029C  A049                     syscall    HPurge
  269. 0000029E  6100 14C0                bsr        +0x14C2 /* 00001760 */
  270. 000002A2  6000 FEF8                bra        -0x106 /* 0000019C */
  271. fn000002A6:
  272. 000002A6  7800                     moveq.l    D4, 0x00
  273. 000002A8  3005                     move.w     D0, D5
  274. 000002AA  B645                     cmp.w      D3, D5
  275. 000002AC  6602                     bne        +0x4 /* 000002B0 */
  276. 000002AE  7801                     moveq.l    D4, 0x01
  277. label000002B0:
  278. 000002B0  6102                     bsr        +0x4 /* 000002B4 */
  279. 000002B2  4E75                     rts
  280. fn000002B4:
  281. 000002B4  6100 041E                bsr        +0x420 /* 000006D4 */
  282. 000002B8  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  283. 000002BC  3F04                     move.w     -[A7], D4
  284. 000002BE  A963                     syscall    SetControlValue/SetCtlValue
  285. 000002C0  4E75                     rts
  286. fn000002C2:
  287. 000002C2  48E7 0060                movem.l    -[A7], A1,A2
  288. 000002C6  203C 0000 00D0           move.l     D0, 0xD0
  289. 000002CC  A122                     syscall    NewHandle, flags=1
  290. 000002CE  2648                     movea.l    A3, A0
  291. 000002D0  2008                     move.l     D0, A0
  292. 000002D2  660A                     bne        +0xC /* 000002DE */
  293. 000002D4  4CDF 0600                movem.l    A1,A2, [A7]+
  294. 000002D8  584F                     addq.w     A7, 4
  295. 000002DA  6000 FECE                bra        -0x130 /* 000001AA */
  296. label000002DE:
  297. 000002DE  2050                     movea.l    A0, [A0]
  298. 000002E0  4268 00CE                clr.w      [A0 + 0xCE]
  299. 000002E4  42A8 0018                clr.l      [A0 + 0x18]
  300. 000002E8  42A8 001C                clr.l      [A0 + 0x1C]
  301. 000002EC  42A8 0020                clr.l      [A0 + 0x20]
  302. 000002F0  42A8 009C                clr.l      [A0 + 0x9C]
  303. 000002F4  4268 002A                clr.w      [A0 + 0x2A]
  304. 000002F8  4268 0074                clr.w      [A0 + 0x74]
  305. 000002FC  42A8 00B6                clr.l      [A0 + 0xB6]
  306. 00000300  4268 00BA                clr.w      [A0 + 0xBA]
  307. 00000304  4268 00BC                clr.w      [A0 + 0xBC]
  308. 00000308  42A8 000C                clr.l      [A0 + 0xC]
  309. 0000030C  50E8 0010                st         [A0 + 0x10]
  310. 00000310  594F                     subq.w     A7, 4
  311. 00000312  3F3C 0010                move.w     -[A7], 0x10
  312. 00000316  A9B8                     syscall    GetPattern
  313. 00000318  201F                     move.l     D0, [A7]+
  314. 0000031A  6608                     bne        +0xA /* 00000324 */
  315. 0000031C  3F3C 0001                move.w     -[A7], 0x1
  316. 00000320  6100 1988                bsr        +0x198A /* 00001CAA */
  317. label00000324:
  318. 00000324  2240                     movea.l    A1, D0
  319. 00000326  2251                     movea.l    A1, [A1]
  320. 00000328  2053                     movea.l    A0, [A3]
  321. 0000032A  20D9                     move.l     [A0]+, [A1]+
  322. 0000032C  20D1                     move.l     [A0]+, [A1]
  323. 0000032E  30BC FFFF                move.w     [A0], 0xFFFF
  324. 00000332  2053                     movea.l    A0, [A3]
  325. 00000334  317C 0001 000A           move.w     [A0 + 0xA], 0x1
  326. 0000033A  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  327. 00000340  6600 010E                bne        +0x110 /* 00000450 */
  328. 00000344  594F                     subq.w     A7, 4
  329. 00000346  2F3C 7070 6174           move.l     -[A7], 0x70706174 /* 'ppat' */
  330. 0000034C  3F3C 0010                move.w     -[A7], 0x10
  331. 00000350  A9A0                     syscall    GetResource
  332. 00000352  201F                     move.l     D0, [A7]+
  333. 00000354  6608                     bne        +0xA /* 0000035E */
  334. 00000356  3F3C 0001                move.w     -[A7], 0x1
  335. 0000035A  6100 194E                bsr        +0x1950 /* 00001CAA */
  336. label0000035E:
  337. 0000035E  2253                     movea.l    A1, [A3]
  338. 00000360  2340 0068                move.l     [A1 + 0x68], D0
  339. 00000364  2040                     movea.l    A0, D0
  340. 00000366  2050                     movea.l    A0, [A0]
  341. 00000368  3350 00B2                move.w     [A1 + 0xB2], [A0]
  342. 0000036C  6100 01DA                bsr        +0x1DC /* 00000548 */
  343. 00000370  3369 00B4 00B2           move.w     [A1 + 0xB2], [A1 + 0xB4]
  344. 00000376  0C69 0001 00B2           cmpi.w     [A1 + 0xB2], 0x1
  345. 0000037C  6600 00D2                bne        +0xD4 /* 00000450 */
  346. 00000380  594F                     subq.w     A7, 4
  347. 00000382  AA07                     syscall    NewPixPat
  348. 00000384  201F                     move.l     D0, [A7]+
  349. 00000386  6606                     bne        +0x8 /* 0000038E */
  350. 00000388  4267                     clr.w      -[A7]
  351. 0000038A  6100 191E                bsr        +0x1920 /* 00001CAA */
  352. label0000038E:
  353. 0000038E  2253                     movea.l    A1, [A3]
  354. 00000390  2340 001C                move.l     [A1 + 0x1C], D0
  355. 00000394  594F                     subq.w     A7, 4
  356. 00000396  3F3C 0010                move.w     -[A7], 0x10
  357. 0000039A  AA0C                     syscall    GetPixPat
  358. 0000039C  201F                     move.l     D0, [A7]+
  359. 0000039E  6608                     bne        +0xA /* 000003A8 */
  360. 000003A0  3F3C 0001                move.w     -[A7], 0x1
  361. 000003A4  6100 1904                bsr        +0x1906 /* 00001CAA */
  362. label000003A8:
  363. 000003A8  2040                     movea.l    A0, D0
  364. 000003AA  A029                     syscall    HLock
  365. 000003AC  2253                     movea.l    A1, [A3]
  366. 000003AE  2348 0020                move.l     [A1 + 0x20], A0
  367. 000003B2  594F                     subq.w     A7, 4
  368. 000003B4  2F0A                     move.l     -[A7], A2
  369. 000003B6  AA96                     syscall    GetPalette
  370. 000003B8  2253                     movea.l    A1, [A3]
  371. 000003BA  235F 00C6                move.l     [A1 + 0xC6], [A7]+
  372. 000003BE  594F                     subq.w     A7, 4
  373. 000003C0  3F3C 000B                move.w     -[A7], 0xB
  374. 000003C4  42A7                     clr.l      -[A7]
  375. 000003C6  4267                     clr.w      -[A7]
  376. 000003C8  4267                     clr.w      -[A7]
  377. 000003CA  AA91                     syscall    NewPalette
  378. 000003CC  2253                     movea.l    A1, [A3]
  379. 000003CE  201F                     move.l     D0, [A7]+
  380. 000003D0  2340 00CA                move.l     [A1 + 0xCA], D0
  381. 000003D4  6606                     bne        +0x8 /* 000003DC */
  382. 000003D6  4267                     clr.w      -[A7]
  383. 000003D8  6100 18D0                bsr        +0x18D2 /* 00001CAA */
  384. label000003DC:
  385. 000003DC  2F0A                     move.l     -[A7], A2
  386. 000003DE  2F00                     move.l     -[A7], D0
  387. 000003E0  1F3C 0001                move.b     -[A7], 0x1
  388. 000003E4  AA95                     syscall    SetPalette/NSetPalette
  389. 000003E6  2253                     movea.l    A1, [A3]
  390. 000003E8  2F29 0020                move.l     -[A7], [A1 + 0x20]
  391. 000003EC  2F29 001C                move.l     -[A7], [A1 + 0x1C]
  392. 000003F0  AA09                     syscall    CopyPixPat
  393. 000003F2  2F0B                     move.l     -[A7], A3
  394. 000003F4  2653                     movea.l    A3, [A3]
  395. 000003F6  2F2B 00CA                move.l     -[A7], [A3 + 0xCA]
  396. 000003FA  4267                     clr.w      -[A7]
  397. 000003FC  487A 09C8                pea.l      [PC + 0x9C8 /* 00000DC6, value 0xFFFFFFFF */]
  398. 00000400  AA9C                     syscall    SetEntryColor
  399. 00000402  206A 0008                movea.l    A0, [A2 + 0x8]
  400. 00000406  2050                     movea.l    A0, [A0]
  401. 00000408  2F28 0008                move.l     -[A7], [A0 + 0x8]
  402. 0000040C  3F28 0006                move.w     -[A7], [A0 + 0x6]
  403. 00000410  2F2B 00CA                move.l     -[A7], [A3 + 0xCA]
  404. 00000414  3F3C 0002                move.w     -[A7], 0x2
  405. 00000418  486F 0006                pea.l      [A7 + 0x6]
  406. 0000041C  AA9C                     syscall    SetEntryColor
  407. 0000041E  2F2B 00CA                move.l     -[A7], [A3 + 0xCA]
  408. 00000422  3F3C 0002                move.w     -[A7], 0x2
  409. 00000426  3F3C 0002                move.w     -[A7], 0x2
  410. 0000042A  4267                     clr.w      -[A7]
  411. 0000042C  AA9E                     syscall    SetEntryUsage
  412. 0000042E  5C4F                     addq.w     A7, 6
  413. 00000430  6100 00D0                bsr        +0xD2 /* 00000502 */
  414. 00000434  265F                     movea.l    A3, [A7]+
  415. 00000436  6100 09D6                bsr        +0x9D8 /* 00000E0E */
  416. 0000043A  2253                     movea.l    A1, [A3]
  417. 0000043C  2069 001C                movea.l    A0, [A1 + 0x1C]
  418. 00000440  2050                     movea.l    A0, [A0]
  419. 00000442  2068 0006                movea.l    A0, [A0 + 0x6]
  420. 00000446  A025                     syscall    GetHandleSize
  421. 00000448  2050                     movea.l    A0, [A0]
  422. 0000044A  43E9 0076                lea.l      A1, [A1 + 0x76]
  423. 0000044E  A02E                     syscall    BlockMove/BlockMoveData
  424. label00000450:
  425. 00000450  6100 04D0                bsr        +0x4D2 /* 00000922 */
  426. 00000454  2053                     movea.l    A0, [A3]
  427. 00000456  4268 0028                clr.w      [A0 + 0x28]
  428. 0000045A  317C 0001 003A           move.w     [A0 + 0x3A], 0x1
  429. 00000460  42A8 002C                clr.l      [A0 + 0x2C]
  430. 00000464  317C FFFF 0030           move.w     [A0 + 0x30], 0xFFFF
  431. 0000046A  4268 0044                clr.w      [A0 + 0x44]
  432. 0000046E  594F                     subq.w     A7, 4
  433. 00000470  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  434. 00000476  3F3C 0006                move.w     -[A7], 0x6
  435. 0000047A  A9A0                     syscall    GetResource
  436. 0000047C  4A9F                     tst.l      [A7]+
  437. 0000047E  6608                     bne        +0xA /* 00000488 */
  438. 00000480  3F3C 0001                move.w     -[A7], 0x1
  439. 00000484  6100 1824                bsr        +0x1826 /* 00001CAA */
  440. label00000488:
  441. 00000488  594F                     subq.w     A7, 4
  442. 0000048A  4267                     clr.w      -[A7]
  443. 0000048C  3F3C 0006                move.w     -[A7], 0x6
  444. 00000490  A9ED                     syscall    Pack6
  445. 00000492  201F                     move.l     D0, [A7]+
  446. 00000494  6608                     bne        +0xA /* 0000049E */
  447. 00000496  3F3C 0001                move.w     -[A7], 0x1
  448. 0000049A  6100 180E                bsr        +0x1810 /* 00001CAA */
  449. label0000049E:
  450. 0000049E  2040                     movea.l    A0, D0
  451. 000004A0  2250                     movea.l    A1, [A0]
  452. 000004A2  2053                     movea.l    A0, [A3]
  453. 000004A4  45E9 000C                lea.l      A2, [A1 + 0xC]
  454. 000004A8  6100 00FE                bsr        +0x100 /* 000005A8 */
  455. 000004AC  1141 0036                move.b     [A0 + 0x36], D1
  456. 000004B0  45E9 0010                lea.l      A2, [A1 + 0x10]
  457. 000004B4  6100 00F2                bsr        +0xF4 /* 000005A8 */
  458. 000004B8  1141 0037                move.b     [A0 + 0x37], D1
  459. 000004BC  1029 0009                move.b     D0, [A1 + 0x9]
  460. 000004C0  1140 0032                move.b     [A0 + 0x32], D0
  461. 000004C4  1229 0014                move.b     D1, [A1 + 0x14]
  462. 000004C8  1141 0033                move.b     [A0 + 0x33], D1
  463. 000004CC  4268 0034                clr.w      [A0 + 0x34]
  464. 000004D0  1169 000A 0035           move.b     [A0 + 0x35], [A1 + 0xA]
  465. 000004D6  4268 0038                clr.w      [A0 + 0x38]
  466. 000004DA  1169 0007 0039           move.b     [A0 + 0x39], [A1 + 0x7]
  467. 000004E0  554F                     subq.w     A7, 2
  468. 000004E2  3F00                     move.w     -[A7], D0
  469. 000004E4  554F                     subq.w     A7, 2
  470. 000004E6  3F01                     move.w     -[A7], D1
  471. 000004E8  A88D                     syscall    CharWidth
  472. 000004EA  2053                     movea.l    A0, [A3]
  473. 000004EC  315F 003E                move.w     [A0 + 0x3E], [A7]+
  474. 000004F0  A88D                     syscall    CharWidth
  475. 000004F2  2053                     movea.l    A0, [A3]
  476. 000004F4  315F 003C                move.w     [A0 + 0x3C], [A7]+
  477. 000004F8  6100 0454                bsr        +0x456 /* 0000094E */
  478. 000004FC  4CDF 0600                movem.l    A1,A2, [A7]+
  479. 00000500  4E75                     rts
  480. fn00000502:
  481. 00000502  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  482. 00000506  2C2B 00CA                move.l     D6, [A3 + 0xCA]
  483. 0000050A  206B 001C                movea.l    A0, [A3 + 0x1C]
  484. 0000050E  2050                     movea.l    A0, [A0]
  485. 00000510  2068 0002                movea.l    A0, [A0 + 0x2]
  486. 00000514  2050                     movea.l    A0, [A0]
  487. 00000516  2868 002A                movea.l    A4, [A0 + 0x2A]
  488. 0000051A  204C                     movea.l    A0, A4
  489. 0000051C  A029                     syscall    HLock
  490. 0000051E  2A14                     move.l     D5, [A4]
  491. 00000520  0645 000A                addi.w     D5, 0xA /* '\n' */
  492. 00000524  3E3C 0003                move.w     D7, 0x3
  493. label00000528:
  494. 00000528  2F06                     move.l     -[A7], D6
  495. 0000052A  3F07                     move.w     -[A7], D7
  496. 0000052C  2F05                     move.l     -[A7], D5
  497. 0000052E  AA9C                     syscall    SetEntryColor
  498. 00000530  5247                     addq.w     D7, 1
  499. 00000532  5045                     addq.w     D5, 8
  500. 00000534  0C47 000B                cmpi.w     D7, 0xB
  501. 00000538  65EE                     bcs        -0x10 /* 00000528 */
  502. 0000053A  204C                     movea.l    A0, A4
  503. 0000053C  A02A                     syscall    HUnlock
  504. 0000053E  2F0A                     move.l     -[A7], A2
  505. 00000540  AA94                     syscall    ActivatePalette
  506. 00000542  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  507. 00000546  4E75                     rts
  508. fn00000548:
  509. 00000548  48E7 40C0                movem.l    -[A7], D1,A0,A1
  510. 0000054C  3350 00B4                move.w     [A1 + 0xB4], [A0]
  511. 00000550  0C69 0001 00B4           cmpi.w     [A1 + 0xB4], 0x1
  512. 00000556  6644                     bne        +0x46 /* 0000059C */
  513. 00000558  2228 0002                move.l     D1, [A0 + 0x2]
  514. 0000055C  D0C1                     add.w      A0, D1
  515. 0000055E  0CA8 0000 0000 0006      cmpi.l     [A0 + 0x6], 0x0
  516. 00000566  662C                     bne        +0x2E /* 00000594 */
  517. 00000568  0CA8 0008 0008 000A      cmpi.l     [A0 + 0xA], 0x80008
  518. 00000570  6622                     bne        +0x24 /* 00000594 */
  519. 00000572  0C68 0004 0020           cmpi.w     [A0 + 0x20], 0x4
  520. 00000578  661A                     bne        +0x1C /* 00000594 */
  521. 0000057A  2228 002A                move.l     D1, [A0 + 0x2A]
  522. 0000057E  2F29 0068                move.l     -[A7], [A1 + 0x68]
  523. 00000582  A9A2                     syscall    LoadResource
  524. 00000584  2069 0068                movea.l    A0, [A1 + 0x68]
  525. 00000588  2050                     movea.l    A0, [A0]
  526. 0000058A  D1C1                     add.l      A0, D1
  527. 0000058C  0C68 0007 0006           cmpi.w     [A0 + 0x6], 0x7
  528. 00000592  670E                     beq        +0x10 /* 000005A2 */
  529. label00000594:
  530. 00000594  337C FFFF 00B4           move.w     [A1 + 0xB4], 0xFFFF
  531. 0000059A  6006                     bra        +0x8 /* 000005A2 */
  532. label0000059C:
  533. 0000059C  337C FFFF 00B4           move.w     [A1 + 0xB4], 0xFFFF
  534. label000005A2:
  535. 000005A2  4CDF 0302                movem.l    D1,A0,A1, [A7]+
  536. 000005A6  4E75                     rts
  537. fn000005A8:
  538. 000005A8  7000                     moveq.l    D0, 0x00
  539. label000005AA:
  540. 000005AA  121A                     move.b     D1, [A2]+
  541. 000005AC  0C01 0020                cmpi.b     D1, 0x20 /* ' ' */
  542. 000005B0  6608                     bne        +0xA /* 000005BA */
  543. 000005B2  5200                     addq.b     D0, 1
  544. 000005B4  0C00 0004                cmpi.b     D0, 0x4
  545. 000005B8  6DF0                     blt        -0xE /* 000005AA */
  546. label000005BA:
  547. 000005BA  0C01 0061                cmpi.b     D1, 0x61 /* 'a' */
  548. 000005BE  6D04                     blt        +0x6 /* 000005C4 */
  549. 000005C0  0401 0020                subi.b     D1, 0x20 /* ' ' */
  550. label000005C4:
  551. 000005C4  4E75                     rts
  552. label000005C6:
  553. 000005C6  B6FC 0000                cmpa.w     A3, 0x0
  554. 000005CA  6700 FBDE                beq        -0x420 /* 000001AA */
  555. 000005CE  2F0B                     move.l     -[A7], A3
  556. 000005D0  2653                     movea.l    A3, [A3]
  557. 000005D2  4A6B 00CE                tst.w      [A3 + 0xCE]
  558. 000005D6  6708                     beq        +0xA /* 000005E0 */
  559. 000005D8  4267                     clr.w      -[A7]
  560. 000005DA  A999                     syscall    UpdateResFile
  561. 000005DC  2657                     movea.l    A3, [A7]
  562. 000005DE  2653                     movea.l    A3, [A3]
  563. label000005E0:
  564. 000005E0  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  565. 000005E6  664E                     bne        +0x50 /* 00000636 */
  566. 000005E8  0C6B 0001 00B2           cmpi.w     [A3 + 0xB2], 0x1
  567. 000005EE  6646                     bne        +0x48 /* 00000636 */
  568. 000005F0  206B 0020                movea.l    A0, [A3 + 0x20]
  569. 000005F4  2008                     move.l     D0, A0
  570. 000005F6  6702                     beq        +0x4 /* 000005FA */
  571. 000005F8  A02A                     syscall    HUnlock
  572. label000005FA:
  573. 000005FA  206B 0018                movea.l    A0, [A3 + 0x18]
  574. 000005FE  2008                     move.l     D0, A0
  575. 00000600  6704                     beq        +0x6 /* 00000606 */
  576. 00000602  A02A                     syscall    HUnlock
  577. 00000604  A023                     syscall    DisposHandle/DisposeHandle
  578. label00000606:
  579. 00000606  206B 009C                movea.l    A0, [A3 + 0x9C]
  580. 0000060A  670C                     beq        +0xE /* 00000618 */
  581. 0000060C  2050                     movea.l    A0, [A0]
  582. 0000060E  42A8 002A                clr.l      [A0 + 0x2A]
  583. 00000612  2F2B 009C                move.l     -[A7], [A3 + 0x9C]
  584. 00000616  AA04                     syscall    DisposePixMap/DisposPixMap
  585. label00000618:
  586. 00000618  2F0A                     move.l     -[A7], A2
  587. 0000061A  2F2B 00C6                move.l     -[A7], [A3 + 0xC6]
  588. 0000061E  1F3C 0001                move.b     -[A7], 0x1
  589. 00000622  AA95                     syscall    SetPalette/NSetPalette
  590. 00000624  2657                     movea.l    A3, [A7]
  591. 00000626  2653                     movea.l    A3, [A3]
  592. 00000628  202B 00CA                move.l     D0, [A3 + 0xCA]
  593. 0000062C  6708                     beq        +0xA /* 00000636 */
  594. 0000062E  2F00                     move.l     -[A7], D0
  595. 00000630  AA93                     syscall    DisposePalette
  596. 00000632  2657                     movea.l    A3, [A7]
  597. 00000634  2653                     movea.l    A3, [A3]
  598. label00000636:
  599. 00000636  362B 0074                move.w     D3, [A3 + 0x74]
  600. 0000063A  6608                     bne        +0xA /* 00000644 */
  601. 0000063C  6100 1122                bsr        +0x1124 /* 00001760 */
  602. 00000640  2657                     movea.l    A3, [A7]
  603. 00000642  2653                     movea.l    A3, [A3]
  604. label00000644:
  605. 00000644  4AAB 001C                tst.l      [A3 + 0x1C]
  606. 00000648  6706                     beq        +0x8 /* 00000650 */
  607. 0000064A  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  608. 0000064E  AA08                     syscall    DisposePixPat/DisposPixPat
  609. label00000650:
  610. 00000650  205F                     movea.l    A0, [A7]+
  611. 00000652  2650                     movea.l    A3, [A0]
  612. 00000654  362B 0074                move.w     D3, [A3 + 0x74]
  613. 00000658  A023                     syscall    DisposHandle/DisposeHandle
  614. 0000065A  4A43                     tst.w      D3
  615. 0000065C  6700 FB4C                beq        -0x4B2 /* 000001AA */
  616. 00000660  97CB                     sub.l      A3, A3
  617. 00000662  0C43 0001                cmpi.w     D3, 0x1
  618. 00000666  670E                     beq        +0x10 /* 00000676 */
  619. 00000668  367C 0001                movea.w    A3, 0x1
  620. 0000066C  0C43 0002                cmpi.w     D3, 0x2
  621. 00000670  6704                     beq        +0x6 /* 00000676 */
  622. 00000672  367C FFFF                movea.w    A3, 0xFFFF
  623. label00000676:
  624. 00000676  6000 FB32                bra        -0x4CC /* 000001AA */
  625. label0000067A:
  626. 0000067A  6100 FC46                bsr        -0x3B8 /* 000002C2 */
  627. 0000067E  2F0B                     move.l     -[A7], A3
  628. 00000680  2653                     movea.l    A3, [A3]
  629. 00000682  610C                     bsr        +0xE /* 00000690 */
  630. 00000684  265F                     movea.l    A3, [A7]+
  631. 00000686  6000 FB22                bra        -0x4DC /* 000001AA */
  632. label0000068A:
  633. 0000068A  6104                     bsr        +0x6 /* 00000690 */
  634. 0000068C  6000 FB0E                bra        -0x4F0 /* 0000019C */
  635. fn00000690:
  636. 00000690  363C 0018                move.w     D3, 0x18
  637. 00000694  4A6B 0034                tst.w      [A3 + 0x34]
  638. 00000698  6604                     bne        +0x6 /* 0000069E */
  639. 0000069A  363C 0019                move.w     D3, 0x19
  640. label0000069E:
  641. 0000069E  6100 FAC8                bsr        -0x536 /* 00000168 */
  642. 000006A2  7200                     moveq.l    D1, 0x00
  643. 000006A4  7000                     moveq.l    D0, 0x00
  644. 000006A6  1038 0209                move.b     D0, [0x00000209 /* SPClikCaret */]
  645. 000006AA  0240 000F                andi.w     D0, 0xF
  646. 000006AE  E540                     asl        D0.w, 2
  647. 000006B0  43FA 001E                lea.l      A1, [PC + 0x1E /* 000006D0, value 0x3C200C00 */]
  648. 000006B4  613E                     bsr        +0x40 /* 000006F4 */
  649. 000006B6  5841                     addq.w     D1, 4
  650. 000006B8  3601                     move.w     D3, D1
  651. 000006BA  6100 FACC                bsr        -0x532 /* 00000188 */
  652. 000006BE  1638 020B                move.b     D3, [0x0000020B /* SPMisc2/PCDeskPat */]
  653. 000006C2  E44B                     lsr        D3.w, 2
  654. 000006C4  0243 0003                andi.w     D3, 0x3
  655. 000006C8  5E43                     addq.w     D3, 7
  656. 000006CA  6100 FA7C                bsr        -0x582 /* 00000148 */
  657. 000006CE  4E75                     rts
  658. 000006D0  3C20                     move.w     D6, -[A0]
  659. 000006D2  0C00 2F0A                cmpi.b     D0, 0xA /* '\n' */
  660. // begin alternate branch 000006D4-000006D6
  661. fn000006D4:
  662. 000006D4  2F0A                     move.l     -[A7], A2
  663. // end alternate branch 000006D4-000006D6
  664. fn000006D4: // (misaligned)
  665. 000006D6  D047                     add.w      D0, D7
  666. 000006D8  3F00                     move.w     -[A7], D0
  667. 000006DA  486E FFFE                pea.l      [A6 - 0x2]
  668. 000006DE  486E FFFA                pea.l      [A6 - 0x6]
  669. 000006E2  486E FFF2                pea.l      [A6 - 0xE]
  670. 000006E6  A98D                     syscall    GetDialogItem/GetDItem
  671. 000006E8  4E75                     rts
  672. fn000006EA:
  673. 000006EA  41F8 01F8                lea.l      A0, [0x000001F8 /* SPValid/SysParam */]
  674. 000006EE  70FF                     moveq.l    D0, 0xFFFFFFFF
  675. 000006F0  A038                     syscall    WriteParam
  676. 000006F2  4E75                     rts
  677. fn000006F4:
  678. 000006F4  7200                     moveq.l    D1, 0x00
  679. label000006F6:
  680. 000006F6  B019                     cmp.b      D0, [A1]+
  681. 000006F8  6C08                     bge        +0xA /* 00000702 */
  682. 000006FA  5241                     addq.w     D1, 1
  683. 000006FC  0C41 0004                cmpi.w     D1, 0x4
  684. 00000700  6DF4                     blt        -0xA /* 000006F6 */
  685. label00000702:
  686. 00000702  4E75                     rts
  687. fn00000704:
  688. 00000704  2F05                     move.l     -[A7], D5
  689. 00000706  3003                     move.w     D0, D3
  690. 00000708  5F40                     subq.w     D0, 7
  691. 0000070A  31C0 0A24                move.w     [0x00000A24 /* MenuFlash */], D0
  692. 0000070E  E540                     asl        D0.w, 2
  693. 00000710  1238 020B                move.b     D1, [0x0000020B /* SPMisc2/PCDeskPat */]
  694. 00000714  0241 FFF3                andi.w     D1, 0xFFF3
  695. 00000718  8240                     or.w       D1, D0
  696. 0000071A  11C1 020B                move.b     [0x0000020B /* SPMisc2/PCDeskPat */], D1
  697. 0000071E  61CA                     bsr        -0x34 /* 000006EA */
  698. 00000720  3A38 0A24                move.w     D5, [0x00000A24 /* MenuFlash */]
  699. 00000724  6708                     beq        +0xA /* 0000072E */
  700. label00000726:
  701. 00000726  610A                     bsr        +0xC /* 00000732 */
  702. 00000728  6108                     bsr        +0xA /* 00000732 */
  703. 0000072A  5345                     subq.w     D5, 1
  704. 0000072C  66F8                     bne        -0x6 /* 00000726 */
  705. label0000072E:
  706. 0000072E  2A1F                     move.l     D5, [A7]+
  707. 00000730  4E75                     rts
  708. fn00000732:
  709. 00000732  7002                     moveq.l    D0, 0x02
  710. 00000734  619E                     bsr        -0x60 /* 000006D4 */
  711. 00000736  066E 000E FFF2           addi.w     [A6 - 0xE], 0xE
  712. 0000073C  066E 000C FFF4           addi.w     [A6 - 0xC], 0xC
  713. 00000742  046E 0018 FFF6           subi.w     [A6 - 0xA], 0x18
  714. 00000748  046E 000D FFF8           subi.w     [A6 - 0x8], 0xD /* '\r' */
  715. 0000074E  486E FFF2                pea.l      [A6 - 0xE]
  716. 00000752  A8A4                     syscall    InvertRect
  717. 00000754  307C 0005                movea.w    A0, 0x5
  718. 00000758  A03B                     syscall    Delay
  719. 0000075A  4E75                     rts
  720. fn0000075C:
  721. 0000075C  2F0C                     move.l     -[A7], A4
  722. 0000075E  594F                     subq.w     A7, 4
  723. 00000760  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  724. 00000766  3F3C 0006                move.w     -[A7], 0x6
  725. 0000076A  A9A0                     syscall    GetResource
  726. 0000076C  4A9F                     tst.l      [A7]+
  727. 0000076E  6608                     bne        +0xA /* 00000778 */
  728. 00000770  3F3C 0001                move.w     -[A7], 0x1
  729. 00000774  6100 1534                bsr        +0x1536 /* 00001CAA */
  730. label00000778:
  731. 00000778  594F                     subq.w     A7, 4
  732. 0000077A  4267                     clr.w      -[A7]
  733. 0000077C  3F3C 0006                move.w     -[A7], 0x6
  734. 00000780  A9ED                     syscall    Pack6
  735. 00000782  201F                     move.l     D0, [A7]+
  736. 00000784  6608                     bne        +0xA /* 0000078E */
  737. 00000786  3F3C 0001                move.w     -[A7], 0x1
  738. 0000078A  6100 151E                bsr        +0x1520 /* 00001CAA */
  739. label0000078E:
  740. 0000078E  2840                     movea.l    A4, D0
  741. 00000790  2054                     movea.l    A0, [A4]
  742. 00000792  0C43 0018                cmpi.w     D3, 0x18
  743. 00000796  670E                     beq        +0x10 /* 000007A6 */
  744. 00000798  0C28 0000 000A           cmpi.b     [A0 + 0xA], 0x0
  745. 0000079E  6756                     beq        +0x58 /* 000007F6 */
  746. 000007A0  4228 000A                clr.b      [A0 + 0xA]
  747. 000007A4  600E                     bra        +0x10 /* 000007B4 */
  748. label000007A6:
  749. 000007A6  0C28 00FF 000A           cmpi.b     [A0 + 0xA], 0xFF
  750. 000007AC  6748                     beq        +0x4A /* 000007F6 */
  751. 000007AE  117C 00FF 000A           move.b     [A0 + 0xA], 0xFF
  752. label000007B4:
  753. 000007B4  1768 000A 0035           move.b     [A3 + 0x35], [A0 + 0xA]
  754. 000007BA  2F0C                     move.l     -[A7], A4
  755. 000007BC  2F17                     move.l     -[A7], [A7]
  756. 000007BE  6100 15C4                bsr        +0x15C6 /* 00001D84 */
  757. 000007C2  554F                     subq.w     A7, 2
  758. 000007C4  A9AF                     syscall    ResError
  759. 000007C6  301F                     move.w     D0, [A7]+
  760. 000007C8  670C                     beq        +0xE /* 000007D6 */
  761. 000007CA  3F3C 0002                move.w     -[A7], 0x2
  762. 000007CE  6100 14DA                bsr        +0x14DC /* 00001CAA */
  763. 000007D2  584F                     addq.w     A7, 4
  764. 000007D4  6012                     bra        +0x14 /* 000007E8 */
  765. label000007D6:
  766. 000007D6  A9B0                     syscall    WriteResource
  767. 000007D8  554F                     subq.w     A7, 2
  768. 000007DA  A9AF                     syscall    ResError
  769. 000007DC  301F                     move.w     D0, [A7]+
  770. 000007DE  6708                     beq        +0xA /* 000007E8 */
  771. 000007E0  3F3C 0002                move.w     -[A7], 0x2
  772. 000007E4  6100 14C4                bsr        +0x14C6 /* 00001CAA */
  773. label000007E8:
  774. 000007E8  303C 001E                move.w     D0, 0x1E
  775. 000007EC  6100 FEE6                bsr        -0x118 /* 000006D4 */
  776. 000007F0  486E FFF2                pea.l      [A6 - 0xE]
  777. 000007F4  A8A3                     syscall    EraseRect
  778. label000007F6:
  779. 000007F6  285F                     movea.l    A4, [A7]+
  780. 000007F8  4E75                     rts
  781. fn000007FA:
  782. 000007FA  3003                     move.w     D0, D3
  783. 000007FC  5940                     subq.w     D0, 4
  784. 000007FE  0C40 0003                cmpi.w     D0, 0x3
  785. 00000802  6D02                     blt        +0x4 /* 00000806 */
  786. 00000804  7002                     moveq.l    D0, 0x02
  787. label00000806:
  788. 00000806  41FA FEC8                lea.l      A0, [PC - 0x138 /* 000006D0, value 0x3C200C00 */]
  789. 0000080A  1030 0000                move.b     D0, [A0 + D0.w]
  790. 0000080E  48C0                     ext.l      D0
  791. 00000810  21C0 02F4                move.l     [0x000002F4 /* CaretTime */], D0
  792. 00000814  E448                     lsr        D0.w, 2
  793. 00000816  0240 000F                andi.w     D0, 0xF
  794. 0000081A  1238 0209                move.b     D1, [0x00000209 /* SPClikCaret */]
  795. 0000081E  0241 00F0                andi.w     D1, 0xF0
  796. 00000822  8240                     or.w       D1, D0
  797. 00000824  11C1 0209                move.b     [0x00000209 /* SPClikCaret */], D1
  798. 00000828  6100 FEC0                bsr        -0x13E /* 000006EA */
  799. 0000082C  4E75                     rts
  800. label0000082E:
  801. 0000082E  6100 157C                bsr        +0x157E /* 00001DAC */
  802. 00000832  204B                     movea.l    A0, A3
  803. 00000834  2238 02F4                move.l     D1, [0x000002F4 /* CaretTime */]
  804. 00000838  D2A8 000C                add.l      D1, [A0 + 0xC]
  805. 0000083C  6100 1536                bsr        +0x1538 /* 00001D74 */
  806. 00000840  B280                     cmp.l      D1, D0
  807. 00000842  6202                     bhi        +0x4 /* 00000846 */
  808. 00000844  6118                     bsr        +0x1A /* 0000085E */
  809. label00000846:
  810. 00000846  284A                     movea.l    A4, A2
  811. 00000848  202B 002C                move.l     D0, [A3 + 0x2C]
  812. 0000084C  670A                     beq        +0xC /* 00000858 */
  813. 0000084E  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  814. 00000854  6600 F946                bne        -0x6B8 /* 0000019C */
  815. label00000858:
  816. 00000858  615A                     bsr        +0x5C /* 000008B4 */
  817. 0000085A  6000 F940                bra        -0x6BE /* 0000019C */
  818. fn0000085E:
  819. 0000085E  6100 1514                bsr        +0x1516 /* 00001D74 */
  820. 00000862  2140 000C                move.l     [A0 + 0xC], D0
  821. 00000866  4628 0010                not.b      [A0 + 0x10]
  822. 0000086A  204A                     movea.l    A0, A2
  823. 0000086C  4A28 006F                tst.b      [A0 + 0x6F]
  824. 00000870  6740                     beq        +0x42 /* 000008B2 */
  825. 00000872  7003                     moveq.l    D0, 0x03
  826. 00000874  6100 FE5E                bsr        -0x1A0 /* 000006D4 */
  827. 00000878  066E 000B FFF4           addi.w     [A6 - 0xC], 0xB
  828. 0000087E  536E FFF6                subq.w     [A6 - 0xA], 1
  829. 00000882  046E 000C FFF8           subi.w     [A6 - 0x8], 0xC
  830. 00000888  41EE FFF2                lea.l      A0, [A6 - 0xE]
  831. 0000088C  2F28 0004                move.l     -[A7], [A0 + 0x4]
  832. 00000890  2F10                     move.l     -[A7], [A0]
  833. 00000892  A893                     syscall    MoveTo
  834. 00000894  3F3C 0008                move.w     -[A7], 0x8
  835. 00000898  A89C                     syscall    PenMode
  836. 0000089A  2255                     movea.l    A1, [A5]
  837. 0000089C  4869 FFF0                pea.l      [A1 - 0x10]
  838. 000008A0  4A2B 0010                tst.b      [A3 + 0x10]
  839. 000008A4  6606                     bne        +0x8 /* 000008AC */
  840. 000008A6  4869 FFF8                pea.l      [A1 - 0x8]
  841. 000008AA  2E9F                     move.l     [A7], [A7]+
  842. label000008AC:
  843. 000008AC  A89D                     syscall    PenPat
  844. 000008AE  A891                     syscall    LineTo
  845. 000008B0  A89E                     syscall    PenNormal
  846. label000008B2:
  847. 000008B2  4E75                     rts
  848. fn000008B4:
  849. 000008B4  4E56 FEF8                link       A6, -0x0108
  850. 000008B8  6168                     bsr        +0x6A /* 00000922 */
  851. 000008BA  6100 00F0                bsr        +0xF2 /* 000009AC */
  852. 000008BE  3F2B 003A                move.w     -[A7], [A3 + 0x3A]
  853. 000008C2  377C 0003 003A           move.w     [A3 + 0x3A], 0x3
  854. 000008C8  6100 01C8                bsr        +0x1CA /* 00000A92 */
  855. 000008CC  7000                     moveq.l    D0, 0x00
  856. 000008CE  6100 0170                bsr        +0x172 /* 00000A40 */
  857. 000008D2  2038 09FC                move.l     D0, [0x000009FC]
  858. 000008D6  5540                     subq.w     D0, 2
  859. 000008D8  4840                     swap.w     D0
  860. 000008DA  2F00                     move.l     -[A7], D0
  861. 000008DC  A893                     syscall    MoveTo
  862. 000008DE  6100 01AE                bsr        +0x1B0 /* 00000A8E */
  863. 000008E2  204B                     movea.l    A0, A3
  864. 000008E4  315F 003A                move.w     [A0 + 0x3A], [A7]+
  865. 000008E8  317C 0001 003A           move.w     [A0 + 0x3A], 0x1
  866. 000008EE  3028 003A                move.w     D0, [A0 + 0x3A]
  867. 000008F2  6708                     beq        +0xA /* 000008FC */
  868. 000008F4  2028 002C                move.l     D0, [A0 + 0x2C]
  869. 000008F8  6602                     bne        +0x4 /* 000008FC */
  870. 000008FA  6106                     bsr        +0x8 /* 00000902 */
  871. label000008FC:
  872. 000008FC  6150                     bsr        +0x52 /* 0000094E */
  873. 000008FE  4E5E                     unlink     A6
  874. 00000900  4E75                     rts
  875. fn00000902:
  876. 00000902  6100 00EE                bsr        +0xF0 /* 000009F2 */
  877. 00000906  6100 018A                bsr        +0x18C /* 00000A92 */
  878. 0000090A  7000                     moveq.l    D0, 0x00
  879. 0000090C  6100 0132                bsr        +0x134 /* 00000A40 */
  880. 00000910  2038 09FC                move.l     D0, [0x000009FC]
  881. 00000914  5540                     subq.w     D0, 2
  882. 00000916  4840                     swap.w     D0
  883. 00000918  2F00                     move.l     -[A7], D0
  884. 0000091A  A893                     syscall    MoveTo
  885. 0000091C  6100 0170                bsr        +0x172 /* 00000A8E */
  886. 00000920  4E75                     rts
  887. fn00000922:
  888. 00000922  241F                     move.l     D2, [A7]+
  889. 00000924  2055                     movea.l    A0, [A5]
  890. 00000926  2050                     movea.l    A0, [A0]
  891. 00000928  2F28 0044                move.l     -[A7], [A0 + 0x44]
  892. 0000092C  2F28 0048                move.l     -[A7], [A0 + 0x48]
  893. 00000930  5D4F                     subq.w     A7, 6
  894. 00000932  2F0F                     move.l     -[A7], A7
  895. 00000934  3F3C F030                move.w     -[A7], 0xF030
  896. 00000938  3F3C 0001                move.w     -[A7], 0x1
  897. 0000093C  611E                     bsr        +0x20 /* 0000095C */
  898. 0000093E  A887                     syscall    TextFont
  899. 00000940  A888                     syscall    TextFace
  900. 00000942  A88A                     syscall    TextSize
  901. 00000944  4267                     clr.w      -[A7]
  902. 00000946  A889                     syscall    TextMode
  903. 00000948  2042                     movea.l    A0, D2
  904. 0000094A  4ED0                     jmp        [A0]
  905. 0000094C  4E75                     rts
  906. fn0000094E:
  907. 0000094E  241F                     move.l     D2, [A7]+
  908. 00000950  A889                     syscall    TextMode
  909. 00000952  A88A                     syscall    TextSize
  910. 00000954  A887                     syscall    TextFont
  911. 00000956  A888                     syscall    TextFace
  912. 00000958  2042                     movea.l    A0, D2
  913. 0000095A  4ED0                     jmp        [A0]
  914. fn0000095C:
  915. 0000095C  4E56 0000                link       A6, 0
  916. 00000960  226E 000C                movea.l    A1, [A6 + 0xC]
  917. 00000964  4291                     clr.l      [A1]
  918. 00000966  4269 0004                clr.w      [A1 + 0x4]
  919. 0000096A  594F                     subq.w     A7, 4
  920. 0000096C  2F3C 6669 6E66           move.l     -[A7], 0x66696E66 /* 'finf' */
  921. 00000972  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  922. 00000976  A9A0                     syscall    GetResource
  923. 00000978  201F                     move.l     D0, [A7]+
  924. 0000097A  6608                     bne        +0xA /* 00000984 */
  925. 0000097C  3F3C 0001                move.w     -[A7], 0x1
  926. 00000980  6100 1328                bsr        +0x132A /* 00001CAA */
  927. label00000984:
  928. 00000984  2040                     movea.l    A0, D0
  929. 00000986  2050                     movea.l    A0, [A0]
  930. 00000988  3218                     move.w     D1, [A0]+
  931. 0000098A  302E 0008                move.w     D0, [A6 + 0x8]
  932. 0000098E  B240                     cmp.w      D1, D0
  933. 00000990  6510                     bcs        +0x12 /* 000009A2 */
  934. 00000992  5340                     subq.w     D0, 1
  935. 00000994  E340                     asl        D0.w, 1
  936. 00000996  3200                     move.w     D1, D0
  937. 00000998  E341                     asl        D1.w, 1
  938. 0000099A  D041                     add.w      D0, D1
  939. 0000099C  D0C0                     add.w      A0, D0
  940. 0000099E  22D8                     move.l     [A1]+, [A0]+
  941. 000009A0  3290                     move.w     [A1], [A0]
  942. label000009A2:
  943. 000009A2  4E5E                     unlink     A6
  944. 000009A4  205F                     movea.l    A0, [A7]+
  945. 000009A6  4FEF 0008                lea.l      A7, [A7 + 0x8]
  946. 000009AA  4ED0                     jmp        [A0]
  947. fn000009AC:
  948. 000009AC  594F                     subq.w     A7, 4
  949. 000009AE  204F                     movea.l    A0, A7
  950. 000009B0  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  951. 000009B4  4240                     clr.w      D0
  952. 000009B6  7002                     moveq.l    D0, 0x02
  953. label000009B8:
  954. 000009B8  3F00                     move.w     -[A7], D0
  955. 000009BA  594F                     subq.w     A7, 4
  956. 000009BC  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  957. 000009C2  3F3C 0006                move.w     -[A7], 0x6
  958. 000009C6  A9A0                     syscall    GetResource
  959. 000009C8  4A9F                     tst.l      [A7]+
  960. 000009CA  6608                     bne        +0xA /* 000009D4 */
  961. 000009CC  3F3C 0001                move.w     -[A7], 0x1
  962. 000009D0  6100 12D8                bsr        +0x12DA /* 00001CAA */
  963. label000009D4:
  964. 000009D4  301F                     move.w     D0, [A7]+
  965. 000009D6  1F00                     move.b     -[A7], D0
  966. 000009D8  486E FF00                pea.l      [A6 - 0x100]
  967. 000009DC  3F00                     move.w     -[A7], D0
  968. 000009DE  A9ED                     syscall    Pack6
  969. 000009E0  554F                     subq.w     A7, 2
  970. 000009E2  A9AF                     syscall    ResError
  971. 000009E4  301F                     move.w     D0, [A7]+
  972. 000009E6  6708                     beq        +0xA /* 000009F0 */
  973. 000009E8  3F3C 0001                move.w     -[A7], 0x1
  974. 000009EC  6100 12BC                bsr        +0x12BE /* 00001CAA */
  975. label000009F0:
  976. 000009F0  4E75                     rts
  977. fn000009F2:
  978. 000009F2  594F                     subq.w     A7, 4
  979. 000009F4  204F                     movea.l    A0, A7
  980. 000009F6  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  981. 000009FA  4240                     clr.w      D0
  982. 000009FC  204B                     movea.l    A0, A3
  983. 000009FE  7002                     moveq.l    D0, 0x02
  984. 00000A00  3228 003A                move.w     D1, [A0 + 0x3A]
  985. 00000A04  0C41 0003                cmpi.w     D1, 0x3
  986. 00000A08  670E                     beq        +0x10 /* 00000A18 */
  987. 00000A0A  0C41 0001                cmpi.w     D1, 0x1
  988. 00000A0E  6604                     bne        +0x6 /* 00000A14 */
  989. 00000A10  7000                     moveq.l    D0, 0x00
  990. 00000A12  6004                     bra        +0x6 /* 00000A18 */
  991. label00000A14:
  992. 00000A14  2EB8 0200                move.l     [A7], [0x00000200 /* SPAlarm */]
  993. label00000A18:
  994. 00000A18  2428 002C                move.l     D2, [A0 + 0x2C]
  995. 00000A1C  6702                     beq        +0x4 /* 00000A20 */
  996. 00000A1E  2E82                     move.l     [A7], D2
  997. label00000A20:
  998. 00000A20  6096                     bra        -0x68 /* 000009B8 */
  999. fn00000A22:
  1000. 00000A22  6122                     bsr        +0x24 /* 00000A46 */
  1001. 00000A24  4A6B 0028                tst.w      [A3 + 0x28]
  1002. 00000A28  670C                     beq        +0xE /* 00000A36 */
  1003. 00000A2A  41F8 09FA                lea.l      A0, [0x000009FA /* TempRect/Scratch8 */]
  1004. 00000A2E  5268 0006                addq.w     [A0 + 0x6], 1
  1005. 00000A32  426B 0028                clr.w      [A3 + 0x28]
  1006. label00000A36:
  1007. 00000A36  08B8 0007 0938           bclr.b     [0x00000938 /* HiliteMode */], 0x7
  1008. 00000A3C  A8A4                     syscall    InvertRect
  1009. 00000A3E  4E75                     rts
  1010. fn00000A40:
  1011. 00000A40  6104                     bsr        +0x6 /* 00000A46 */
  1012. 00000A42  584F                     addq.w     A7, 4
  1013. 00000A44  4E75                     rts
  1014. fn00000A46:
  1015. 00000A46  205F                     movea.l    A0, [A7]+
  1016. 00000A48  224B                     movea.l    A1, A3
  1017. 00000A4A  21FA 1252 09FA           move.l     [0x000009FA /* TempRect/Scratch8 */], [PC + 0x1252 /* 00001C9E, value 0x73015D, cstring "" */]
  1018. 00000A50  21FA 1250 09FE           move.l     [0x000009FE], [PC + 0x1250 /* 00001CA2, value 0x80015D, cstring "" */]
  1019. 00000A56  D040                     add.w      D0, D0
  1020. 00000A58  6A02                     bpl        +0x4 /* 00000A5C */
  1021. 00000A5A  7000                     moveq.l    D0, 0x00
  1022. label00000A5C:
  1023. 00000A5C  31F1 0046 09FC           move.w     [0x000009FC], [A1 + D0.w + 0x46]
  1024. 00000A62  31F1 0048 0A00           move.w     [0x00000A00], [A1 + D0.w + 0x48]
  1025. 00000A68  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  1026. 00000A6E  660C                     bne        +0xE /* 00000A7C */
  1027. 00000A70  0678 004A 09FA           addi.w     [0x000009FA /* TempRect/Scratch8 */], 0x4A /* 'J' */
  1028. 00000A76  0678 004A 09FE           addi.w     [0x000009FE], 0x4A /* 'J' */
  1029. label00000A7C:
  1030. 00000A7C  0678 001E 09FC           addi.w     [0x000009FC], 0x1E
  1031. 00000A82  0678 001E 0A00           addi.w     [0x00000A00], 0x1E
  1032. 00000A88  4878 09FA                push.l     0x9FA
  1033. 00000A8C  4ED0                     jmp        [A0]
  1034. fn00000A8E:
  1035. 00000A8E  70FF                     moveq.l    D0, 0xFFFFFFFF
  1036. 00000A90  6002                     bra        +0x4 /* 00000A94 */
  1037. fn00000A92:
  1038. 00000A92  7000                     moveq.l    D0, 0x00
  1039. label00000A94:
  1040. 00000A94  48E7 1F20                movem.l    -[A7], D3,D4,D5,D6,D7,A2
  1041. 00000A98  2A00                     move.l     D5, D0
  1042. 00000A9A  204B                     movea.l    A0, A3
  1043. 00000A9C  3228 003A                move.w     D1, [A0 + 0x3A]
  1044. 00000AA0  5341                     subq.w     D1, 1
  1045. 00000AA2  660A                     bne        +0xC /* 00000AAE */
  1046. 00000AA4  3028 003C                move.w     D0, [A0 + 0x3C]
  1047. 00000AA8  1228 0032                move.b     D1, [A0 + 0x32]
  1048. 00000AAC  6008                     bra        +0xA /* 00000AB6 */
  1049. label00000AAE:
  1050. 00000AAE  3028 003E                move.w     D0, [A0 + 0x3E]
  1051. 00000AB2  1228 0033                move.b     D1, [A0 + 0x33]
  1052. label00000AB6:
  1053. 00000AB6  1141 0040                move.b     [A0 + 0x40], D1
  1054. 00000ABA  3140 0042                move.w     [A0 + 0x42], D0
  1055. 00000ABE  7C00                     moveq.l    D6, 0x00
  1056. 00000AC0  42A8 0056                clr.l      [A0 + 0x56]
  1057. 00000AC4  45EE FF00                lea.l      A2, [A6 - 0x100]
  1058. 00000AC8  7E00                     moveq.l    D7, 0x00
  1059. 00000ACA  1E1A                     move.b     D7, [A2]+
  1060. 00000ACC  7604                     moveq.l    D3, 0x04
  1061. label00000ACE:
  1062. 00000ACE  7800                     moveq.l    D4, 0x00
  1063. 00000AD0  204B                     movea.l    A0, A3
  1064. label00000AD2:
  1065. 00000AD2  1232 4000                move.b     D1, [A2 + D4.w]
  1066. 00000AD6  5244                     addq.w     D4, 1
  1067. 00000AD8  B228 0040                cmp.b      D1, [A0 + 0x40]
  1068. 00000ADC  670A                     beq        +0xC /* 00000AE8 */
  1069. 00000ADE  0C01 0020                cmpi.b     D1, 0x20 /* ' ' */
  1070. 00000AE2  6704                     beq        +0x6 /* 00000AE8 */
  1071. 00000AE4  B847                     cmp.w      D4, D7
  1072. 00000AE6  6FEA                     ble        -0x14 /* 00000AD2 */
  1073. label00000AE8:
  1074. 00000AE8  5344                     subq.w     D4, 1
  1075. 00000AEA  554F                     subq.w     A7, 2
  1076. 00000AEC  2F0A                     move.l     -[A7], A2
  1077. 00000AEE  4267                     clr.w      -[A7]
  1078. 00000AF0  3F04                     move.w     -[A7], D4
  1079. 00000AF2  A886                     syscall    TextWidth
  1080. 00000AF4  3017                     move.w     D0, [A7]
  1081. 00000AF6  0C40 0010                cmpi.w     D0, 0x10
  1082. 00000AFA  6C12                     bge        +0x14 /* 00000B0E */
  1083. 00000AFC  3EBC 0010                move.w     [A7], 0x10
  1084. 00000B00  2205                     move.l     D1, D5
  1085. 00000B02  6718                     beq        +0x1A /* 00000B1C */
  1086. 00000B04  6172                     bsr        +0x74 /* 00000B78 */
  1087. 00000B06  487A 119E                pea.l      [PC + 0x119E /* 00001CA6, value 0x2202000, pstring "  " */]
  1088. 00000B0A  A884                     syscall    DrawString
  1089. 00000B0C  7008                     moveq.l    D0, 0x08
  1090. label00000B0E:
  1091. 00000B0E  2205                     move.l     D1, D5
  1092. 00000B10  670A                     beq        +0xC /* 00000B1C */
  1093. 00000B12  6164                     bsr        +0x66 /* 00000B78 */
  1094. 00000B14  2F0A                     move.l     -[A7], A2
  1095. 00000B16  4267                     clr.w      -[A7]
  1096. 00000B18  3F04                     move.w     -[A7], D4
  1097. 00000B1A  A885                     syscall    DrawText
  1098. label00000B1C:
  1099. 00000B1C  204B                     movea.l    A0, A3
  1100. 00000B1E  3186 3046                move.w     [A0 + D3.w + 0x46], D6
  1101. 00000B22  DC5F                     add.w      D6, [A7]+
  1102. 00000B24  3186 3048                move.w     [A0 + D3.w + 0x48], D6
  1103. 00000B28  5843                     addq.w     D3, 4
  1104. 00000B2A  D4C4                     add.w      A2, D4
  1105. 00000B2C  9E44                     sub.w      D7, D4
  1106. 00000B2E  6F28                     ble        +0x2A /* 00000B58 */
  1107. 00000B30  5347                     subq.w     D7, 1
  1108. 00000B32  1028 0040                move.b     D0, [A0 + 0x40]
  1109. 00000B36  B012                     cmp.b      D0, [A2]
  1110. 00000B38  6706                     beq        +0x8 /* 00000B40 */
  1111. 00000B3A  303C 0004                move.w     D0, 0x4
  1112. 00000B3E  6004                     bra        +0x6 /* 00000B44 */
  1113. label00000B40:
  1114. 00000B40  3028 0042                move.w     D0, [A0 + 0x42]
  1115. label00000B44:
  1116. 00000B44  DC40                     add.w      D6, D0
  1117. 00000B46  2205                     move.l     D1, D5
  1118. 00000B48  6708                     beq        +0xA /* 00000B52 */
  1119. 00000B4A  612C                     bsr        +0x2E /* 00000B78 */
  1120. 00000B4C  1012                     move.b     D0, [A2]
  1121. 00000B4E  3F00                     move.w     -[A7], D0
  1122. 00000B50  A883                     syscall    DrawChar
  1123. label00000B52:
  1124. 00000B52  524A                     addq.w     A2, 1
  1125. 00000B54  6000 FF78                bra        -0x86 /* 00000ACE */
  1126. label00000B58:
  1127. 00000B58  303A 1142                move.w     D0, [PC + 0x1142 /* 00001C9C, value 0x19E */]
  1128. 00000B5C  9046                     sub.w      D0, D6
  1129. 00000B5E  E240                     asr        D0.w, 1
  1130. 00000B60  5440                     addq.w     D0, 2
  1131. 00000B62  7212                     moveq.l    D1, 0x12
  1132. 00000B64  2146 0046                move.l     [A0 + 0x46], D6
  1133. label00000B68:
  1134. 00000B68  D170 1046                add.w      [A0 + D1.w + 0x46], D0
  1135. 00000B6C  5541                     subq.w     D1, 2
  1136. 00000B6E  6AF8                     bpl        -0x6 /* 00000B68 */
  1137. 00000B70  6132                     bsr        +0x34 /* 00000BA4 */
  1138. 00000B72  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  1139. 00000B76  4E75                     rts
  1140. fn00000B78:
  1141. 00000B78  3F00                     move.w     -[A7], D0
  1142. 00000B7A  594F                     subq.w     A7, 4
  1143. 00000B7C  2F0F                     move.l     -[A7], A7
  1144. 00000B7E  A89A                     syscall    GetPen
  1145. 00000B80  301F                     move.w     D0, [A7]+
  1146. 00000B82  321F                     move.w     D1, [A7]+
  1147. 00000B84  5440                     addq.w     D0, 2
  1148. 00000B86  31C0 09FE                move.w     [0x000009FE], D0
  1149. 00000B8A  0440 0010                subi.w     D0, 0x10
  1150. 00000B8E  31C0 09FA                move.w     [0x000009FA /* TempRect/Scratch8 */], D0
  1151. 00000B92  31C1 09FC                move.w     [0x000009FC], D1
  1152. 00000B96  D25F                     add.w      D1, [A7]+
  1153. 00000B98  31C1 0A00                move.w     [0x00000A00], D1
  1154. 00000B9C  4878 09FA                push.l     0x9FA
  1155. 00000BA0  A87B                     syscall    ClipRect
  1156. 00000BA2  4E75                     rts
  1157. fn00000BA4:
  1158. 00000BA4  2055                     movea.l    A0, [A5]
  1159. 00000BA6  2050                     movea.l    A0, [A0]
  1160. 00000BA8  4868 0010                pea.l      [A0 + 0x10]
  1161. 00000BAC  A87B                     syscall    ClipRect
  1162. 00000BAE  4E75                     rts
  1163. 00000BB0  3F3C 0008                move.w     -[A7], 0x8
  1164. 00000BB4  A9C8                     syscall    SysBeep
  1165. 00000BB6  6000 F5E4                bra        -0xA1A /* 0000019C */
  1166. label00000BBA:
  1167. 00000BBA  48E7 0808                movem.l    -[A7], D4,A4
  1168. 00000BBE  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1169. 00000BC4  6600 0112                bne        +0x114 /* 00000CD8 */
  1170. 00000BC8  0C6B 0001 00B2           cmpi.w     [A3 + 0xB2], 0x1
  1171. 00000BCE  6600 0108                bne        +0x10A /* 00000CD8 */
  1172. 00000BD2  0C43 0026                cmpi.w     D3, 0x26 /* '&' */
  1173. 00000BD6  6E00 F5C4                bgt        -0xA3A /* 0000019C */
  1174. 00000BDA  303C 001F                move.w     D0, 0x1F
  1175. 00000BDE  6100 FAF4                bsr        -0x50A /* 000006D4 */
  1176. 00000BE2  576E FFF2                subq.w     [A6 - 0xE], 3
  1177. 00000BE6  046E 0010 FFF6           subi.w     [A6 - 0xA], 0x10
  1178. 00000BEC  066E 0070 FFF8           addi.w     [A6 - 0x8], 0x70 /* 'p' */
  1179. 00000BF2  486E FFF2                pea.l      [A6 - 0xE]
  1180. 00000BF6  A8A3                     syscall    EraseRect
  1181. 00000BF8  3003                     move.w     D0, D3
  1182. 00000BFA  6100 FAD8                bsr        -0x526 /* 000006D4 */
  1183. 00000BFE  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1184. 00000C02  5557                     subq.w     [A7], 2
  1185. 00000C04  536F 0002                subq.w     [A7 + 0x2], 1
  1186. 00000C08  A893                     syscall    MoveTo
  1187. 00000C0A  2F3C 0000 0010           move.l     -[A7], 0x10
  1188. 00000C10  A892                     syscall    Line
  1189. 00000C12  2F3C FFFF FFF0           move.l     -[A7], 0xFFFFFFF0
  1190. 00000C18  A894                     syscall    Move
  1191. 00000C1A  2F3C 0000 0010           move.l     -[A7], 0x10
  1192. 00000C20  A892                     syscall    Line
  1193. 00000C22  0443 001F                subi.w     D3, 0x1F
  1194. 00000C26  3743 000A                move.w     [A3 + 0xA], D3
  1195. 00000C2A  4A6B 00BC                tst.w      [A3 + 0xBC]
  1196. 00000C2E  6700 0094                beq        +0x96 /* 00000CC4 */
  1197. 00000C32  594F                     subq.w     A7, 4
  1198. 00000C34  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  1199. 00000C3A  3F3C 000C                move.w     -[A7], 0xC
  1200. 00000C3E  A9A0                     syscall    GetResource
  1201. 00000C40  4A9F                     tst.l      [A7]+
  1202. 00000C42  6608                     bne        +0xA /* 00000C4C */
  1203. 00000C44  3F3C 0001                move.w     -[A7], 0x1
  1204. 00000C48  6100 1060                bsr        +0x1062 /* 00001CAA */
  1205. label00000C4C:
  1206. 00000C4C  594F                     subq.w     A7, 4
  1207. 00000C4E  3F3C F030                move.w     -[A7], 0xF030
  1208. 00000C52  A9BA                     syscall    GetString
  1209. 00000C54  4A97                     tst.l      [A7]
  1210. 00000C56  660A                     bne        +0xC /* 00000C62 */
  1211. 00000C58  584F                     addq.w     A7, 4
  1212. 00000C5A  3F3C 0001                move.w     -[A7], 0x1
  1213. 00000C5E  6100 104A                bsr        +0x104C /* 00001CAA */
  1214. label00000C62:
  1215. 00000C62  2057                     movea.l    A0, [A7]
  1216. 00000C64  A029                     syscall    HLock
  1217. 00000C66  2050                     movea.l    A0, [A0]
  1218. 00000C68  554F                     subq.w     A7, 2
  1219. 00000C6A  2F38 0A06                move.l     -[A7], [0x00000A06 /* MinusOne */]
  1220. 00000C6E  2F08                     move.l     -[A7], A0
  1221. 00000C70  206B 001C                movea.l    A0, [A3 + 0x1C]
  1222. 00000C74  2050                     movea.l    A0, [A0]
  1223. 00000C76  2068 0002                movea.l    A0, [A0 + 0x2]
  1224. 00000C7A  2050                     movea.l    A0, [A0]
  1225. 00000C7C  2068 002A                movea.l    A0, [A0 + 0x2A]
  1226. 00000C80  2848                     movea.l    A4, A0
  1227. 00000C82  A029                     syscall    HLock
  1228. 00000C84  204C                     movea.l    A0, A4
  1229. 00000C86  2050                     movea.l    A0, [A0]
  1230. 00000C88  41E8 000A                lea.l      A0, [A0 + 0xA]
  1231. 00000C8C  3003                     move.w     D0, D3
  1232. 00000C8E  E748                     lsl        D0.w, 3
  1233. 00000C90  D0C0                     add.w      A0, D0
  1234. 00000C92  2F08                     move.l     -[A7], A0
  1235. 00000C94  2F08                     move.l     -[A7], A0
  1236. 00000C96  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  1237. 00000C9A  A82E                     syscall    Pack12
  1238. 00000C9C  204C                     movea.l    A0, A4
  1239. 00000C9E  A02A                     syscall    HUnlock
  1240. 00000CA0  181F                     move.b     D4, [A7]+
  1241. 00000CA2  A9A3                     syscall    ReleaseResource
  1242. 00000CA4  4A04                     tst.b      D4
  1243. 00000CA6  6730                     beq        +0x32 /* 00000CD8 */
  1244. 00000CA8  2F2B 00CA                move.l     -[A7], [A3 + 0xCA]
  1245. 00000CAC  3003                     move.w     D0, D3
  1246. 00000CAE  5640                     addq.w     D0, 3
  1247. 00000CB0  3F00                     move.w     -[A7], D0
  1248. 00000CB2  4267                     clr.w      -[A7]
  1249. 00000CB4  4267                     clr.w      -[A7]
  1250. 00000CB6  AA9E                     syscall    SetEntryUsage
  1251. 00000CB8  6138                     bsr        +0x3A /* 00000CF2 */
  1252. 00000CBA  6100 F846                bsr        -0x7B8 /* 00000502 */
  1253. 00000CBE  6178                     bsr        +0x7A /* 00000D38 */
  1254. 00000CC0  6122                     bsr        +0x24 /* 00000CE4 */
  1255. 00000CC2  6014                     bra        +0x16 /* 00000CD8 */
  1256. label00000CC4:
  1257. 00000CC4  226B 001C                movea.l    A1, [A3 + 0x1C]
  1258. 00000CC8  2251                     movea.l    A1, [A1]
  1259. 00000CCA  2069 0006                movea.l    A0, [A1 + 0x6]
  1260. 00000CCE  A025                     syscall    GetHandleSize
  1261. 00000CD0  2050                     movea.l    A0, [A0]
  1262. 00000CD2  43EB 0076                lea.l      A1, [A3 + 0x76]
  1263. 00000CD6  A02E                     syscall    BlockMove/BlockMoveData
  1264. label00000CD8:
  1265. 00000CD8  4CDF 1010                movem.l    D4,A4, [A7]+
  1266. 00000CDC  6100 0A82                bsr        +0xA84 /* 00001760 */
  1267. 00000CE0  6000 F4BA                bra        -0xB44 /* 0000019C */
  1268. fn00000CE4:
  1269. 00000CE4  7001                     moveq.l    D0, 0x01
  1270. 00000CE6  6100 F9EC                bsr        -0x612 /* 000006D4 */
  1271. 00000CEA  486E FFF2                pea.l      [A6 - 0xE]
  1272. 00000CEE  A928                     syscall    InvalRect
  1273. 00000CF0  4E75                     rts
  1274. fn00000CF2:
  1275. 00000CF2  594F                     subq.w     A7, 4
  1276. 00000CF4  AA28                     syscall    GetCTSeed
  1277. 00000CF6  206B 001C                movea.l    A0, [A3 + 0x1C]
  1278. 00000CFA  2050                     movea.l    A0, [A0]
  1279. 00000CFC  2068 0002                movea.l    A0, [A0 + 0x2]
  1280. 00000D00  2050                     movea.l    A0, [A0]
  1281. 00000D02  2068 002A                movea.l    A0, [A0 + 0x2A]
  1282. 00000D06  2050                     movea.l    A0, [A0]
  1283. 00000D08  209F                     move.l     [A0], [A7]+
  1284. fn00000D0A:
  1285. 00000D0A  303C AB1D                move.w     D0, 0xAB1D
  1286. 00000D0E  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1287. 00000D10  2F08                     move.l     -[A7], A0
  1288. 00000D12  303C A89F                move.w     D0, 0xA89F
  1289. 00000D16  A146                     syscall    GetTrapAddress, flags=1
  1290. 00000D18  B1DF                     cmpa.l     A0, [A7]+
  1291. 00000D1A  670E                     beq        +0x10 /* 00000D2A */
  1292. 00000D1C  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  1293. 00000D20  203C 0004 0008           move.l     D0, 0x40008
  1294. 00000D26  AB1D                     syscall    QDExtensions
  1295. 00000D28  600C                     bra        +0xE /* 00000D36 */
  1296. label00000D2A:
  1297. 00000D2A  206B 001C                movea.l    A0, [A3 + 0x1C]
  1298. 00000D2E  2050                     movea.l    A0, [A0]
  1299. 00000D30  317C FFFF 000E           move.w     [A0 + 0xE], 0xFFFF
  1300. label00000D36:
  1301. 00000D36  4E75                     rts
  1302. fn00000D38:
  1303. 00000D38  2F03                     move.l     -[A7], D3
  1304. 00000D3A  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1305. 00000D40  6600 0080                bne        +0x82 /* 00000DC2 */
  1306. 00000D44  0C6B 0001 00B2           cmpi.w     [A3 + 0xB2], 0x1
  1307. 00000D4A  6676                     bne        +0x78 /* 00000DC2 */
  1308. 00000D4C  363C 001F                move.w     D3, 0x1F
  1309. label00000D50:
  1310. 00000D50  3003                     move.w     D0, D3
  1311. 00000D52  6100 F980                bsr        -0x67E /* 000006D4 */
  1312. 00000D56  486E FFF2                pea.l      [A6 - 0xE]
  1313. 00000D5A  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  1314. 00000D60  A8A9                     syscall    InsetRect
  1315. 00000D62  486E FFF2                pea.l      [A6 - 0xE]
  1316. 00000D66  A8A1                     syscall    FrameRect
  1317. 00000D68  486E FFF2                pea.l      [A6 - 0xE]
  1318. 00000D6C  2F3C 0002 0002           move.l     -[A7], 0x20002
  1319. 00000D72  A8A9                     syscall    InsetRect
  1320. 00000D74  3003                     move.w     D0, D3
  1321. 00000D76  0440 001C                subi.w     D0, 0x1C
  1322. 00000D7A  3F00                     move.w     -[A7], D0
  1323. 00000D7C  AA97                     syscall    PmForeColor
  1324. 00000D7E  486E FFF2                pea.l      [A6 - 0xE]
  1325. 00000D82  A8A2                     syscall    PaintRect
  1326. 00000D84  3F3C 0001                move.w     -[A7], 0x1
  1327. 00000D88  AA97                     syscall    PmForeColor
  1328. 00000D8A  5243                     addq.w     D3, 1
  1329. 00000D8C  0C43 0026                cmpi.w     D3, 0x26 /* '&' */
  1330. 00000D90  6FBE                     ble        -0x40 /* 00000D50 */
  1331. 00000D92  303C 001F                move.w     D0, 0x1F
  1332. 00000D96  D06B 000A                add.w      D0, [A3 + 0xA]
  1333. 00000D9A  6100 F938                bsr        -0x6C6 /* 000006D4 */
  1334. 00000D9E  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1335. 00000DA2  5557                     subq.w     [A7], 2
  1336. 00000DA4  536F 0002                subq.w     [A7 + 0x2], 1
  1337. 00000DA8  A893                     syscall    MoveTo
  1338. 00000DAA  2F3C 0000 0010           move.l     -[A7], 0x10
  1339. 00000DB0  A892                     syscall    Line
  1340. 00000DB2  2F3C FFFF FFF0           move.l     -[A7], 0xFFFFFFF0
  1341. 00000DB8  A894                     syscall    Move
  1342. 00000DBA  2F3C 0000 0010           move.l     -[A7], 0x10
  1343. 00000DC0  A892                     syscall    Line
  1344. label00000DC2:
  1345. 00000DC2  261F                     move.l     D3, [A7]+
  1346. 00000DC4  4E75                     rts
  1347. 00000DC6  FFFF                     .invalid   <<F/7/7>>
  1348. 00000DC8  FFFF                     .invalid   <<F/7/7>>
  1349. 00000DCA  FFFF                     .invalid   <<F/7/7>>
  1350. 00000DCC  000D 0064                ori.b      A5, 0x64 /* 'd' */
  1351. 00000DD0  0034 008B 000D           ori.b      [A4 + D0.w + 0xD], 0x8B
  1352. 00000DD6  0097 0034 00CD           ori.l      [A7], 0x3400CD
  1353. 00000DDC  0013 0097                ori.b      [A3], 0x97
  1354. 00000DE0  0034 00CD 0838           ori.b      [A4 + D0 + 0x38], 0xCD
  1355. // begin alternate branch 00000DE4-00000DEA
  1356. fn00000DE4:
  1357. 00000DE4  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1358. // end alternate branch 00000DE4-00000DEA
  1359. fn00000DE4: // (misaligned)
  1360. 00000DE6  0006 028E                ori.b      D6, 0x8E
  1361. 00000DEA  6600 01D4                bne        +0x1D6 /* 00000FC0 */
  1362. 00000DEE  0C6B 0001 00B2           cmpi.w     [A3 + 0xB2], 0x1
  1363. 00000DF4  6600 01CA                bne        +0x1CC /* 00000FC0 */
  1364. 00000DF8  487A FFE2                pea.l      [PC - 0x1E /* 00000DDC, value 0x130097, cstring "" */]
  1365. 00000DFC  2F3C 0003 0003           move.l     -[A7], 0x30003
  1366. 00000E02  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  1367. 00000E06  AA10                     syscall    FillCRoundRect
  1368. 00000E08  6100 008C                bsr        +0x8E /* 00000E96 */
  1369. 00000E0C  4E75                     rts
  1370. fn00000E0E:
  1371. 00000E0E  48E7 1078                movem.l    -[A7], D3,A1,A2,A3,A4
  1372. 00000E12  594F                     subq.w     A7, 4
  1373. 00000E14  AA03                     syscall    NewPixMap
  1374. 00000E16  201F                     move.l     D0, [A7]+
  1375. 00000E18  6608                     bne        +0xA /* 00000E22 */
  1376. 00000E1A  3F3C 0001                move.w     -[A7], 0x1
  1377. 00000E1E  6100 0E8A                bsr        +0xE8C /* 00001CAA */
  1378. label00000E22:
  1379. 00000E22  2053                     movea.l    A0, [A3]
  1380. 00000E24  2140 009C                move.l     [A0 + 0x9C], D0
  1381. 00000E28  206A 0002                movea.l    A0, [A2 + 0x2]
  1382. 00000E2C  2050                     movea.l    A0, [A0]
  1383. 00000E2E  3028 0020                move.w     D0, [A0 + 0x20]
  1384. 00000E32  C0FC 00F0                mulu.w     D0, 0xF0
  1385. 00000E36  A122                     syscall    NewHandle, flags=1
  1386. 00000E38  4A40                     tst.w      D0
  1387. 00000E3A  6706                     beq        +0x8 /* 00000E42 */
  1388. 00000E3C  4267                     clr.w      -[A7]
  1389. 00000E3E  6100 0E6A                bsr        +0xE6C /* 00001CAA */
  1390. label00000E42:
  1391. 00000E42  A029                     syscall    HLock
  1392. 00000E44  2008                     move.l     D0, A0
  1393. 00000E46  2053                     movea.l    A0, [A3]
  1394. 00000E48  2268 009C                movea.l    A1, [A0 + 0x9C]
  1395. 00000E4C  2251                     movea.l    A1, [A1]
  1396. 00000E4E  2140 0018                move.l     [A0 + 0x18], D0
  1397. 00000E52  2040                     movea.l    A0, D0
  1398. 00000E54  2050                     movea.l    A0, [A0]
  1399. 00000E56  2288                     move.l     [A1], A0
  1400. 00000E58  206A 0002                movea.l    A0, [A2 + 0x2]
  1401. 00000E5C  2050                     movea.l    A0, [A0]
  1402. 00000E5E  3028 0020                move.w     D0, [A0 + 0x20]
  1403. 00000E62  C0FC 0006                mulu.w     D0, 0x6
  1404. 00000E66  0040 8000                ori.w      D0, 0x8000
  1405. 00000E6A  3340 0004                move.w     [A1 + 0x4], D0
  1406. 00000E6E  41FA FF5C                lea.l      A0, [PC - 0xA4 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1407. 00000E72  2350 0006                move.l     [A1 + 0x6], [A0]
  1408. 00000E76  2368 0004 000A           move.l     [A1 + 0xA], [A0 + 0x4]
  1409. 00000E7C  206A 0002                movea.l    A0, [A2 + 0x2]
  1410. 00000E80  2050                     movea.l    A0, [A0]
  1411. 00000E82  2F28 002A                move.l     -[A7], [A0 + 0x2A]
  1412. 00000E86  2069 002A                movea.l    A0, [A1 + 0x2A]
  1413. 00000E8A  A023                     syscall    DisposHandle/DisposeHandle
  1414. 00000E8C  235F 002A                move.l     [A1 + 0x2A], [A7]+
  1415. 00000E90  4CDF 1E08                movem.l    D3,A1,A2,A3,A4, [A7]+
  1416. 00000E94  4E75                     rts
  1417. fn00000E96:
  1418. 00000E96  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  1419. 00000E9A  206B 001C                movea.l    A0, [A3 + 0x1C]
  1420. 00000E9E  2250                     movea.l    A1, [A0]
  1421. 00000EA0  2069 0006                movea.l    A0, [A1 + 0x6]
  1422. 00000EA4  A029                     syscall    HLock
  1423. 00000EA6  2F10                     move.l     -[A7], [A0]
  1424. 00000EA8  337C FFFF 000E           move.w     [A1 + 0xE], 0xFFFF
  1425. 00000EAE  2069 0002                movea.l    A0, [A1 + 0x2]
  1426. 00000EB2  2050                     movea.l    A0, [A0]
  1427. 00000EB4  209F                     move.l     [A0], [A7]+
  1428. 00000EB6  2269 0002                movea.l    A1, [A1 + 0x2]
  1429. 00000EBA  2251                     movea.l    A1, [A1]
  1430. 00000EBC  2F09                     move.l     -[A7], A1
  1431. 00000EBE  206B 009C                movea.l    A0, [A3 + 0x9C]
  1432. 00000EC2  2F10                     move.l     -[A7], [A0]
  1433. 00000EC4  4869 0006                pea.l      [A1 + 0x6]
  1434. 00000EC8  487A FF02                pea.l      [PC - 0xFE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1435. 00000ECC  4267                     clr.w      -[A7]
  1436. 00000ECE  42A7                     clr.l      -[A7]
  1437. 00000ED0  226A 0002                movea.l    A1, [A2 + 0x2]
  1438. 00000ED4  2251                     movea.l    A1, [A1]
  1439. 00000ED6  206B 0018                movea.l    A0, [A3 + 0x18]
  1440. 00000EDA  A02A                     syscall    HUnlock
  1441. 00000EDC  3029 0020                move.w     D0, [A1 + 0x20]
  1442. 00000EE0  C0FC 00F0                mulu.w     D0, 0xF0
  1443. 00000EE4  A024                     syscall    SetHandleSize
  1444. 00000EE6  A029                     syscall    HLock
  1445. 00000EE8  226B 009C                movea.l    A1, [A3 + 0x9C]
  1446. 00000EEC  2251                     movea.l    A1, [A1]
  1447. 00000EEE  2050                     movea.l    A0, [A0]
  1448. 00000EF0  2288                     move.l     [A1], A0
  1449. 00000EF2  206A 0002                movea.l    A0, [A2 + 0x2]
  1450. 00000EF6  2050                     movea.l    A0, [A0]
  1451. 00000EF8  3028 0020                move.w     D0, [A0 + 0x20]
  1452. 00000EFC  3340 0020                move.w     [A1 + 0x20], D0
  1453. 00000F00  3368 0024 0024           move.w     [A1 + 0x24], [A0 + 0x24]
  1454. 00000F06  3368 0022 0022           move.w     [A1 + 0x22], [A0 + 0x22]
  1455. 00000F0C  3368 001E 001E           move.w     [A1 + 0x1E], [A0 + 0x1E]
  1456. 00000F12  C0FC 0006                mulu.w     D0, 0x6
  1457. 00000F16  0040 8000                ori.w      D0, 0x8000
  1458. 00000F1A  3340 0004                move.w     [A1 + 0x4], D0
  1459. 00000F1E  2368 002A 002A           move.l     [A1 + 0x2A], [A0 + 0x2A]
  1460. 00000F24  A8EC                     syscall    CopyBits
  1461. 00000F26  206B 001C                movea.l    A0, [A3 + 0x1C]
  1462. 00000F2A  2050                     movea.l    A0, [A0]
  1463. 00000F2C  2068 0006                movea.l    A0, [A0 + 0x6]
  1464. 00000F30  A02A                     syscall    HUnlock
  1465. 00000F32  276A 0002 00A0           move.l     [A3 + 0xA0], [A2 + 0x2]
  1466. 00000F38  256B 009C 0002           move.l     [A2 + 0x2], [A3 + 0x9C]
  1467. 00000F3E  2055                     movea.l    A0, [A5]
  1468. 00000F40  4868 FFF8                pea.l      [A0 - 0x8]
  1469. 00000F44  A89D                     syscall    PenPat
  1470. 00000F46  41FA FE84                lea.l      A0, [PC - 0x17C /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1471. 00000F4A  3628 0002                move.w     D3, [A0 + 0x2]
  1472. 00000F4E  3810                     move.w     D4, [A0]
  1473. 00000F50  3A28 0004                move.w     D5, [A0 + 0x4]
  1474. 00000F54  9A44                     sub.w      D5, D4
  1475. 00000F56  5345                     subq.w     D5, 1
  1476. 00000F58  5343                     subq.w     D3, 1
  1477. 00000F5A  3C3C 0006                move.w     D6, 0x6
  1478. label00000F5E:
  1479. 00000F5E  5A43                     addq.w     D3, 5
  1480. 00000F60  3F03                     move.w     -[A7], D3
  1481. 00000F62  3F04                     move.w     -[A7], D4
  1482. 00000F64  A893                     syscall    MoveTo
  1483. 00000F66  4267                     clr.w      -[A7]
  1484. 00000F68  3F05                     move.w     -[A7], D5
  1485. 00000F6A  A892                     syscall    Line
  1486. 00000F6C  51CE FFF0                dbf        D6, -0x12 /* 00000F5E */
  1487. 00000F70  41FA FE5A                lea.l      A0, [PC - 0x1A6 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1488. 00000F74  3628 0002                move.w     D3, [A0 + 0x2]
  1489. 00000F78  3810                     move.w     D4, [A0]
  1490. 00000F7A  3A28 0006                move.w     D5, [A0 + 0x6]
  1491. 00000F7E  9A43                     sub.w      D5, D3
  1492. 00000F80  5345                     subq.w     D5, 1
  1493. 00000F82  5344                     subq.w     D4, 1
  1494. 00000F84  3C3C 0006                move.w     D6, 0x6
  1495. label00000F88:
  1496. 00000F88  5A44                     addq.w     D4, 5
  1497. 00000F8A  3F03                     move.w     -[A7], D3
  1498. 00000F8C  3F04                     move.w     -[A7], D4
  1499. 00000F8E  A893                     syscall    MoveTo
  1500. 00000F90  3F05                     move.w     -[A7], D5
  1501. 00000F92  4267                     clr.w      -[A7]
  1502. 00000F94  A892                     syscall    Line
  1503. 00000F96  51CE FFF0                dbf        D6, -0x12 /* 00000F88 */
  1504. 00000F9A  A89E                     syscall    PenNormal
  1505. 00000F9C  256B 00A0 0002           move.l     [A2 + 0x2], [A3 + 0xA0]
  1506. 00000FA2  226B 009C                movea.l    A1, [A3 + 0x9C]
  1507. 00000FA6  2F11                     move.l     -[A7], [A1]
  1508. 00000FA8  486A 0002                pea.l      [A2 + 0x2]
  1509. 00000FAC  487A FE1E                pea.l      [PC - 0x1E2 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1510. 00000FB0  487A FE1A                pea.l      [PC - 0x1E6 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1511. 00000FB4  4267                     clr.w      -[A7]
  1512. 00000FB6  42A7                     clr.l      -[A7]
  1513. 00000FB8  A8EC                     syscall    CopyBits
  1514. 00000FBA  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  1515. 00000FBE  4E75                     rts
  1516. fn00000FC0:
  1517. 00000FC0  4E56 FFF8                link       A6, -0x0008
  1518. 00000FC4  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  1519. 00000FC8  45FA FE02                lea.l      A2, [PC - 0x1FE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1520. 00000FCC  2612                     move.l     D3, [A2]
  1521. 00000FCE  2803                     move.l     D4, D3
  1522. 00000FD0  7A00                     moveq.l    D5, 0x00
  1523. label00000FD2:
  1524. 00000FD2  1C33 5000                move.b     D6, [A3 + D5.w]
  1525. 00000FD6  7E07                     moveq.l    D7, 0x07
  1526. label00000FD8:
  1527. 00000FD8  4A06                     tst.b      D6
  1528. 00000FDA  6A12                     bpl        +0x14 /* 00000FEE */
  1529. 00000FDC  486E FFF8                pea.l      [A6 - 0x8]
  1530. 00000FE0  2057                     movea.l    A0, [A7]
  1531. 00000FE2  20C3                     move.l     [A0]+, D3
  1532. 00000FE4  2083                     move.l     [A0], D3
  1533. 00000FE6  0690 0004 0004           addi.l     [A0], 0x40004
  1534. 00000FEC  A8A2                     syscall    PaintRect
  1535. label00000FEE:
  1536. 00000FEE  DC46                     add.w      D6, D6
  1537. 00000FF0  5A43                     addq.w     D3, 5
  1538. 00000FF2  51CF FFE4                dbf        D7, -0x1E /* 00000FD8 */
  1539. 00000FF6  0684 0005 0000           addi.l     D4, 0x50000
  1540. 00000FFC  2604                     move.l     D3, D4
  1541. 00000FFE  5245                     addq.w     D5, 1
  1542. 00001000  0C45 0008                cmpi.w     D5, 0x8
  1543. 00001004  6DCC                     blt        -0x32 /* 00000FD2 */
  1544. 00001006  487A FDD4                pea.l      [PC - 0x22C /* 00000DDC, value 0x130097, cstring "" */]
  1545. 0000100A  2F3C 0003 0003           move.l     -[A7], 0x30003
  1546. 00001010  2F0B                     move.l     -[A7], A3
  1547. 00001012  A8B4                     syscall    FillRoundRect
  1548. 00001014  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  1549. 00001018  4E5E                     unlink     A6
  1550. 0000101A  4E75                     rts
  1551. label0000101C:
  1552. 0000101C  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  1553. 00001020  6100 073E                bsr        +0x740 /* 00001760 */
  1554. 00001024  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1555. 0000102A  6600 0240                bne        +0x242 /* 0000126C */
  1556. 0000102E  0C6B 0001 00B2           cmpi.w     [A3 + 0xB2], 0x1
  1557. 00001034  6600 0236                bne        +0x238 /* 0000126C */
  1558. 00001038  554F                     subq.w     A7, 2
  1559. 0000103A  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  1560. 0000103E  4857                     pea.l      [A7]
  1561. 00001040  A871                     syscall    GlobalToLocal
  1562. 00001042  2817                     move.l     D4, [A7]
  1563. 00001044  487A FD86                pea.l      [PC - 0x27A /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1564. 00001048  A8AD                     syscall    PtInRect
  1565. 0000104A  4A1F                     tst.b      [A7]+
  1566. 0000104C  6600 02DA                bne        +0x2DC /* 00001328 */
  1567. 00001050  554F                     subq.w     A7, 2
  1568. 00001052  2F04                     move.l     -[A7], D4
  1569. 00001054  487A FD7E                pea.l      [PC - 0x282 /* 00000DD4, value 0xD0097, cstring "" */]
  1570. 00001058  A8AD                     syscall    PtInRect
  1571. 0000105A  4A1F                     tst.b      [A7]+
  1572. 0000105C  6700 02C2                beq        +0x2C4 /* 00001320 */
  1573. 00001060  554F                     subq.w     A7, 2
  1574. 00001062  2F04                     move.l     -[A7], D4
  1575. 00001064  487A FD76                pea.l      [PC - 0x28A /* 00000DDC, value 0x130097, cstring "" */]
  1576. 00001068  A8AD                     syscall    PtInRect
  1577. 0000106A  4A1F                     tst.b      [A7]+
  1578. 0000106C  6700 03D8                beq        +0x3DA /* 00001446 */
  1579. 00001070  226B 001C                movea.l    A1, [A3 + 0x1C]
  1580. 00001074  2251                     movea.l    A1, [A1]
  1581. 00001076  2069 0006                movea.l    A0, [A1 + 0x6]
  1582. 0000107A  A025                     syscall    GetHandleSize
  1583. 0000107C  2050                     movea.l    A0, [A0]
  1584. 0000107E  43EB 0076                lea.l      A1, [A3 + 0x76]
  1585. 00001082  A02E                     syscall    BlockMove/BlockMoveData
  1586. 00001084  282C 0006                move.l     D4, [A4 + 0x6]
  1587. 00001088  327C 02F0                movea.w    A1, 0x2F0
  1588. 0000108C  D891                     add.l      D4, [A1]
  1589. label0000108E:
  1590. 0000108E  6100 0CE4                bsr        +0xCE6 /* 00001D74 */
  1591. 00001092  B084                     cmp.l      D0, D4
  1592. 00001094  6E00 00D2                bgt        +0xD4 /* 00001168 */
  1593. 00001098  554F                     subq.w     A7, 2
  1594. 0000109A  3F3C 0002                move.w     -[A7], 0x2
  1595. 0000109E  49FA 00CE                lea.l      A4, [PC + 0xCE /* 0000116E, value 0x0, cstring "" */]
  1596. 000010A2  2F0C                     move.l     -[A7], A4
  1597. 000010A4  A970                     syscall    GetNextEvent
  1598. 000010A6  301F                     move.w     D0, [A7]+
  1599. 000010A8  67E4                     beq        -0x1A /* 0000108E */
  1600. 000010AA  554F                     subq.w     A7, 2
  1601. 000010AC  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  1602. 000010B0  4857                     pea.l      [A7]
  1603. 000010B2  A871                     syscall    GlobalToLocal
  1604. 000010B4  2817                     move.l     D4, [A7]
  1605. 000010B6  487A FD24                pea.l      [PC - 0x2DC /* 00000DDC, value 0x130097, cstring "" */]
  1606. 000010BA  A8AD                     syscall    PtInRect
  1607. 000010BC  4A1F                     tst.b      [A7]+
  1608. 000010BE  6700 0260                beq        +0x262 /* 00001320 */
  1609. 000010C2  0C6B FFFF 0008           cmpi.w     [A3 + 0x8], 0xFFFF
  1610. 000010C8  660A                     bne        +0xC /* 000010D4 */
  1611. 000010CA  3F3C 000C                move.w     -[A7], 0xC
  1612. 000010CE  A9C8                     syscall    SysBeep
  1613. 000010D0  6000 024E                bra        +0x250 /* 00001320 */
  1614. label000010D4:
  1615. 000010D4  206B 0070                movea.l    A0, [A3 + 0x70]
  1616. 000010D8  2050                     movea.l    A0, [A0]
  1617. 000010DA  2F08                     move.l     -[A7], A0
  1618. 000010DC  302B 0008                move.w     D0, [A3 + 0x8]
  1619. 000010E0  C0FC 0004                mulu.w     D0, 0x4
  1620. 000010E4  5440                     addq.w     D0, 2
  1621. 000010E6  D0C0                     add.w      A0, D0
  1622. 000010E8  2010                     move.l     D0, [A0]
  1623. 000010EA  205F                     movea.l    A0, [A7]+
  1624. 000010EC  D0C0                     add.w      A0, D0
  1625. 000010EE  2028 0006                move.l     D0, [A0 + 0x6]
  1626. 000010F2  2F08                     move.l     -[A7], A0
  1627. 000010F4  D0C0                     add.w      A0, D0
  1628. 000010F6  2F08                     move.l     -[A7], A0
  1629. 000010F8  206B 001C                movea.l    A0, [A3 + 0x1C]
  1630. 000010FC  2050                     movea.l    A0, [A0]
  1631. 000010FE  2068 0006                movea.l    A0, [A0 + 0x6]
  1632. 00001102  A025                     syscall    GetHandleSize
  1633. 00001104  2050                     movea.l    A0, [A0]
  1634. 00001106  225F                     movea.l    A1, [A7]+
  1635. 00001108  A02E                     syscall    BlockMove/BlockMoveData
  1636. 0000110A  2057                     movea.l    A0, [A7]
  1637. 0000110C  2028 0002                move.l     D0, [A0 + 0x2]
  1638. 00001110  D0C0                     add.w      A0, D0
  1639. 00001112  2028 002A                move.l     D0, [A0 + 0x2A]
  1640. 00001116  205F                     movea.l    A0, [A7]+
  1641. 00001118  D0C0                     add.w      A0, D0
  1642. 0000111A  2F08                     move.l     -[A7], A0
  1643. 0000111C  206B 001C                movea.l    A0, [A3 + 0x1C]
  1644. 00001120  2050                     movea.l    A0, [A0]
  1645. 00001122  2068 0002                movea.l    A0, [A0 + 0x2]
  1646. 00001126  2050                     movea.l    A0, [A0]
  1647. 00001128  2068 002A                movea.l    A0, [A0 + 0x2A]
  1648. 0000112C  A025                     syscall    GetHandleSize
  1649. 0000112E  2050                     movea.l    A0, [A0]
  1650. 00001130  225F                     movea.l    A1, [A7]+
  1651. 00001132  A02E                     syscall    BlockMove/BlockMoveData
  1652. 00001134  2F2B 0070                move.l     -[A7], [A3 + 0x70]
  1653. 00001138  2F17                     move.l     -[A7], [A7]
  1654. 0000113A  6100 0C48                bsr        +0xC4A /* 00001D84 */
  1655. 0000113E  554F                     subq.w     A7, 2
  1656. 00001140  A9AF                     syscall    ResError
  1657. 00001142  301F                     move.w     D0, [A7]+
  1658. 00001144  670C                     beq        +0xE /* 00001152 */
  1659. 00001146  3F3C 0002                move.w     -[A7], 0x2
  1660. 0000114A  6100 0B5E                bsr        +0xB60 /* 00001CAA */
  1661. 0000114E  584F                     addq.w     A7, 4
  1662. 00001150  6012                     bra        +0x14 /* 00001164 */
  1663. label00001152:
  1664. 00001152  A9B0                     syscall    WriteResource
  1665. 00001154  554F                     subq.w     A7, 2
  1666. 00001156  A9AF                     syscall    ResError
  1667. 00001158  301F                     move.w     D0, [A7]+
  1668. 0000115A  6708                     beq        +0xA /* 00001164 */
  1669. 0000115C  3F3C 0002                move.w     -[A7], 0x2
  1670. 00001160  6100 0B48                bsr        +0xB4A /* 00001CAA */
  1671. label00001164:
  1672. 00001164  6000 01BA                bra        +0x1BC /* 00001320 */
  1673. label00001168:
  1674. 00001168  6114                     bsr        +0x16 /* 0000117E */
  1675. 0000116A  6000 01B4                bra        +0x1B6 /* 00001320 */
  1676. 0000116E  0000 0000                ori.b      D0, 0x0
  1677. 00001172  0000 0000                ori.b      D0, 0x0
  1678. 00001176  0000 0000                ori.b      D0, 0x0
  1679. 0000117A  0000 0000                ori.b      D0, 0x0
  1680. fn0000117E:
  1681. 0000117E  2F2B 0068                move.l     -[A7], [A3 + 0x68]
  1682. 00001182  A9A2                     syscall    LoadResource
  1683. 00001184  554F                     subq.w     A7, 2
  1684. 00001186  A9AF                     syscall    ResError
  1685. 00001188  301F                     move.w     D0, [A7]+
  1686. 0000118A  6708                     beq        +0xA /* 00001194 */
  1687. 0000118C  3F3C 0001                move.w     -[A7], 0x1
  1688. 00001190  6100 0B18                bsr        +0xB1A /* 00001CAA */
  1689. label00001194:
  1690. 00001194  206B 001C                movea.l    A0, [A3 + 0x1C]
  1691. 00001198  2050                     movea.l    A0, [A0]
  1692. 0000119A  2068 0006                movea.l    A0, [A0 + 0x6]
  1693. 0000119E  2F08                     move.l     -[A7], A0
  1694. 000011A0  A025                     syscall    GetHandleSize
  1695. 000011A2  205F                     movea.l    A0, [A7]+
  1696. 000011A4  2050                     movea.l    A0, [A0]
  1697. 000011A6  226B 0068                movea.l    A1, [A3 + 0x68]
  1698. 000011AA  2251                     movea.l    A1, [A1]
  1699. 000011AC  2229 0006                move.l     D1, [A1 + 0x6]
  1700. 000011B0  D3C1                     add.l      A1, D1
  1701. 000011B2  A02E                     syscall    BlockMove/BlockMoveData
  1702. 000011B4  206B 001C                movea.l    A0, [A3 + 0x1C]
  1703. 000011B8  2050                     movea.l    A0, [A0]
  1704. 000011BA  2068 0002                movea.l    A0, [A0 + 0x2]
  1705. 000011BE  2050                     movea.l    A0, [A0]
  1706. 000011C0  2068 002A                movea.l    A0, [A0 + 0x2A]
  1707. 000011C4  2F08                     move.l     -[A7], A0
  1708. 000011C6  A025                     syscall    GetHandleSize
  1709. 000011C8  205F                     movea.l    A0, [A7]+
  1710. 000011CA  2050                     movea.l    A0, [A0]
  1711. 000011CC  226B 0068                movea.l    A1, [A3 + 0x68]
  1712. 000011D0  2251                     movea.l    A1, [A1]
  1713. 000011D2  2F09                     move.l     -[A7], A1
  1714. 000011D4  2229 0002                move.l     D1, [A1 + 0x2]
  1715. 000011D8  D3C1                     add.l      A1, D1
  1716. 000011DA  2229 002A                move.l     D1, [A1 + 0x2A]
  1717. 000011DE  225F                     movea.l    A1, [A7]+
  1718. 000011E0  D3C1                     add.l      A1, D1
  1719. 000011E2  A02E                     syscall    BlockMove/BlockMoveData
  1720. 000011E4  2F2B 0068                move.l     -[A7], [A3 + 0x68]
  1721. 000011E8  2F17                     move.l     -[A7], [A7]
  1722. 000011EA  6100 0B98                bsr        +0xB9A /* 00001D84 */
  1723. 000011EE  554F                     subq.w     A7, 2
  1724. 000011F0  A9AF                     syscall    ResError
  1725. 000011F2  301F                     move.w     D0, [A7]+
  1726. 000011F4  670C                     beq        +0xE /* 00001202 */
  1727. 000011F6  3F3C 0002                move.w     -[A7], 0x2
  1728. 000011FA  6100 0AAE                bsr        +0xAB0 /* 00001CAA */
  1729. 000011FE  584F                     addq.w     A7, 4
  1730. 00001200  6012                     bra        +0x14 /* 00001214 */
  1731. label00001202:
  1732. 00001202  A9B0                     syscall    WriteResource
  1733. 00001204  554F                     subq.w     A7, 2
  1734. 00001206  A9AF                     syscall    ResError
  1735. 00001208  301F                     move.w     D0, [A7]+
  1736. 0000120A  6708                     beq        +0xA /* 00001214 */
  1737. 0000120C  3F3C 0002                move.w     -[A7], 0x2
  1738. 00001210  6100 0A98                bsr        +0xA9A /* 00001CAA */
  1739. label00001214:
  1740. 00001214  486B 006C                pea.l      [A3 + 0x6C]
  1741. 00001218  A874                     syscall    GetPort
  1742. 0000121A  2F38 09DE                move.l     -[A7], [0x000009DE /* WMgrPort */]
  1743. 0000121E  A873                     syscall    SetPort
  1744. 00001220  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  1745. 00001224  A879                     syscall    SetClip
  1746. 00001226  42A7                     clr.l      -[A7]
  1747. 00001228  A90B                     syscall    ClipAbove
  1748. 0000122A  42A7                     clr.l      -[A7]
  1749. 0000122C  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  1750. 00001230  A90C                     syscall    PaintOne
  1751. 00001232  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  1752. 00001236  2F2B 0020                move.l     -[A7], [A3 + 0x20]
  1753. 0000123A  AA09                     syscall    CopyPixPat
  1754. 0000123C  2F0C                     move.l     -[A7], A4
  1755. 0000123E  2F38 0118                move.l     -[A7], [0x00000118 /* TheZone */]
  1756. 00001242  21F8 02A6 0118           move.l     [0x00000118 /* TheZone */], [0x000002A6 /* SysZone */]
  1757. 00001248  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  1758. 0000124C  594F                     subq.w     A7, 4
  1759. 0000124E  AA07                     syscall    NewPixPat
  1760. 00001250  2857                     movea.l    A4, [A7]
  1761. 00001252  AA09                     syscall    CopyPixPat
  1762. 00001254  21DF 0118                move.l     [0x00000118 /* TheZone */], [A7]+
  1763. 00001258  205F                     movea.l    A0, [A7]+
  1764. 0000125A  2F0C                     move.l     -[A7], A4
  1765. 0000125C  2848                     movea.l    A4, A0
  1766. 0000125E  AA47                     syscall    SetDeskCPat
  1767. 00001260  6100 F488                bsr        -0xB76 /* 000006EA */
  1768. 00001264  486B 006C                pea.l      [A3 + 0x6C]
  1769. 00001268  A873                     syscall    SetPort
  1770. 0000126A  4E75                     rts
  1771. label0000126C:
  1772. 0000126C  554F                     subq.w     A7, 2
  1773. 0000126E  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  1774. 00001272  4857                     pea.l      [A7]
  1775. 00001274  A871                     syscall    GlobalToLocal
  1776. 00001276  2817                     move.l     D4, [A7]
  1777. 00001278  487A FB52                pea.l      [PC - 0x4AE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1778. 0000127C  A8AD                     syscall    PtInRect
  1779. 0000127E  4A1F                     tst.b      [A7]+
  1780. 00001280  6600 0378                bne        +0x37A /* 000015FA */
  1781. 00001284  554F                     subq.w     A7, 2
  1782. 00001286  2F04                     move.l     -[A7], D4
  1783. 00001288  487A FB4A                pea.l      [PC - 0x4B6 /* 00000DD4, value 0xD0097, cstring "" */]
  1784. 0000128C  A8AD                     syscall    PtInRect
  1785. 0000128E  4A1F                     tst.b      [A7]+
  1786. 00001290  6700 008E                beq        +0x90 /* 00001320 */
  1787. 00001294  554F                     subq.w     A7, 2
  1788. 00001296  2F04                     move.l     -[A7], D4
  1789. 00001298  487A FB42                pea.l      [PC - 0x4BE /* 00000DDC, value 0x130097, cstring "" */]
  1790. 0000129C  A8AD                     syscall    PtInRect
  1791. 0000129E  4A1F                     tst.b      [A7]+
  1792. 000012A0  6700 02EE                beq        +0x2F0 /* 00001590 */
  1793. 000012A4  594F                     subq.w     A7, 4
  1794. 000012A6  3F3C 0010                move.w     -[A7], 0x10
  1795. 000012AA  A9B8                     syscall    GetPattern
  1796. 000012AC  4A97                     tst.l      [A7]
  1797. 000012AE  660A                     bne        +0xC /* 000012BA */
  1798. 000012B0  584F                     addq.w     A7, 4
  1799. 000012B2  3F3C 0001                move.w     -[A7], 0x1
  1800. 000012B6  6100 09F2                bsr        +0x9F4 /* 00001CAA */
  1801. label000012BA:
  1802. 000012BA  2257                     movea.l    A1, [A7]
  1803. 000012BC  2251                     movea.l    A1, [A1]
  1804. 000012BE  204B                     movea.l    A0, A3
  1805. 000012C0  22D0                     move.l     [A1]+, [A0]
  1806. 000012C2  21D8 0A3C                move.l     [0x00000A3C /* DeskPattern */], [A0]+
  1807. 000012C6  22D0                     move.l     [A1]+, [A0]
  1808. 000012C8  21D8 0A40                move.l     [0x00000A40], [A0]+
  1809. 000012CC  2F17                     move.l     -[A7], [A7]
  1810. 000012CE  6100 0AB4                bsr        +0xAB6 /* 00001D84 */
  1811. 000012D2  554F                     subq.w     A7, 2
  1812. 000012D4  A9AF                     syscall    ResError
  1813. 000012D6  301F                     move.w     D0, [A7]+
  1814. 000012D8  670C                     beq        +0xE /* 000012E6 */
  1815. 000012DA  3F3C 0002                move.w     -[A7], 0x2
  1816. 000012DE  6100 09CA                bsr        +0x9CC /* 00001CAA */
  1817. 000012E2  584F                     addq.w     A7, 4
  1818. 000012E4  6012                     bra        +0x14 /* 000012F8 */
  1819. label000012E6:
  1820. 000012E6  A9B0                     syscall    WriteResource
  1821. 000012E8  554F                     subq.w     A7, 2
  1822. 000012EA  A9AF                     syscall    ResError
  1823. 000012EC  301F                     move.w     D0, [A7]+
  1824. 000012EE  6708                     beq        +0xA /* 000012F8 */
  1825. 000012F0  3F3C 0002                move.w     -[A7], 0x2
  1826. 000012F4  6100 09B4                bsr        +0x9B6 /* 00001CAA */
  1827. label000012F8:
  1828. 000012F8  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1829. 000012FE  6608                     bne        +0xA /* 00001308 */
  1830. 00001300  42A7                     clr.l      -[A7]
  1831. 00001302  AA47                     syscall    SetDeskCPat
  1832. 00001304  6100 F3E4                bsr        -0xC1A /* 000006EA */
  1833. label00001308:
  1834. 00001308  2F38 09DE                move.l     -[A7], [0x000009DE /* WMgrPort */]
  1835. 0000130C  A873                     syscall    SetPort
  1836. 0000130E  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  1837. 00001312  A879                     syscall    SetClip
  1838. 00001314  42A7                     clr.l      -[A7]
  1839. 00001316  A90B                     syscall    ClipAbove
  1840. 00001318  42A7                     clr.l      -[A7]
  1841. 0000131A  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  1842. 0000131E  A90C                     syscall    PaintOne
  1843. label00001320:
  1844. 00001320  4CDF 1CE0                movem.l    D5,D6,D7,A2,A3,A4, [A7]+
  1845. 00001324  6000 EE76                bra        -0x1188 /* 0000019C */
  1846. label00001328:
  1847. 00001328  377C FFFF 0096           move.w     [A3 + 0x96], 0xFFFF
  1848. 0000132E  612C                     bsr        +0x2E /* 0000135C */
  1849. label00001330:
  1850. 00001330  5D4F                     subq.w     A7, 6
  1851. 00001332  2F0F                     move.l     -[A7], A7
  1852. 00001334  A972                     syscall    GetMouse
  1853. 00001336  2817                     move.l     D4, [A7]
  1854. 00001338  487A FA92                pea.l      [PC - 0x56E /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  1855. 0000133C  A8AD                     syscall    PtInRect
  1856. 0000133E  4A1F                     tst.b      [A7]+
  1857. 00001340  6710                     beq        +0x12 /* 00001352 */
  1858. 00001342  2F04                     move.l     -[A7], D4
  1859. 00001344  6100 02E8                bsr        +0x2EA /* 0000162E */
  1860. 00001348  281F                     move.l     D4, [A7]+
  1861. 0000134A  BAAB 0098                cmp.l      D5, [A3 + 0x98]
  1862. 0000134E  6702                     beq        +0x4 /* 00001352 */
  1863. 00001350  610A                     bsr        +0xC /* 0000135C */
  1864. label00001352:
  1865. 00001352  554F                     subq.w     A7, 2
  1866. 00001354  A973                     syscall    StillDown
  1867. 00001356  4A1F                     tst.b      [A7]+
  1868. 00001358  66D6                     bne        -0x28 /* 00001330 */
  1869. 0000135A  60C4                     bra        -0x3A /* 00001320 */
  1870. fn0000135C:
  1871. 0000135C  48E7 7948                movem.l    -[A7], D1,D2,D3,D4,D7,A1,A4
  1872. 00001360  226B 001C                movea.l    A1, [A3 + 0x1C]
  1873. 00001364  2251                     movea.l    A1, [A1]
  1874. 00001366  2069 0006                movea.l    A0, [A1 + 0x6]
  1875. 0000136A  A029                     syscall    HLock
  1876. 0000136C  A025                     syscall    GetHandleSize
  1877. 0000136E  2600                     move.l     D3, D0
  1878. 00001370  2F10                     move.l     -[A7], [A0]
  1879. 00001372  2069 0002                movea.l    A0, [A1 + 0x2]
  1880. 00001376  2050                     movea.l    A0, [A0]
  1881. 00001378  2097                     move.l     [A0], [A7]
  1882. 0000137A  6100 02B2                bsr        +0x2B4 /* 0000162E */
  1883. 0000137E  2057                     movea.l    A0, [A7]
  1884. 00001380  2745 0098                move.l     [A3 + 0x98], D5
  1885. 00001384  376B 000A 00C2           move.w     [A3 + 0xC2], [A3 + 0xA]
  1886. 0000138A  0C6B 0000 0096           cmpi.w     [A3 + 0x96], 0x0
  1887. 00001390  6702                     beq        +0x4 /* 00001394 */
  1888. 00001392  6158                     bsr        +0x5A /* 000013EC */
  1889. label00001394:
  1890. 00001394  2F05                     move.l     -[A7], D5
  1891. 00001396  4845                     swap.w     D5
  1892. 00001398  CAFC 0004                mulu.w     D5, 0x4
  1893. 0000139C  3005                     move.w     D0, D5
  1894. 0000139E  2A1F                     move.l     D5, [A7]+
  1895. 000013A0  205F                     movea.l    A0, [A7]+
  1896. 000013A2  D0C0                     add.w      A0, D0
  1897. 000013A4  2010                     move.l     D0, [A0]
  1898. 000013A6  7200                     moveq.l    D1, 0x00
  1899. 000013A8  322B 00C2                move.w     D1, [A3 + 0xC2]
  1900. 000013AC  74F0                     moveq.l    D2, 0xFFFFFFF0
  1901. 000013AE  7607                     moveq.l    D3, 0x07
  1902. 000013B0  9645                     sub.w      D3, D5
  1903. 000013B2  6708                     beq        +0xA /* 000013BC */
  1904. label000013B4:
  1905. 000013B4  E999                     rol        D1, 4
  1906. 000013B6  E99A                     rol        D2, 4
  1907. 000013B8  5343                     subq.w     D3, 1
  1908. 000013BA  6EF8                     bgt        -0x6 /* 000013B4 */
  1909. label000013BC:
  1910. 000013BC  C082                     and.l      D0, D2
  1911. 000013BE  D081                     add.l      D0, D1
  1912. 000013C0  2080                     move.l     [A0], D0
  1913. 000013C2  6100 F946                bsr        -0x6B8 /* 00000D0A */
  1914. 000013C6  487A FA14                pea.l      [PC - 0x5EC /* 00000DDC, value 0x130097, cstring "" */]
  1915. 000013CA  2F3C 0003 0003           move.l     -[A7], 0x30003
  1916. 000013D0  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  1917. 000013D4  AA10                     syscall    FillCRoundRect
  1918. 000013D6  226B 001C                movea.l    A1, [A3 + 0x1C]
  1919. 000013DA  2251                     movea.l    A1, [A1]
  1920. 000013DC  2069 0006                movea.l    A0, [A1 + 0x6]
  1921. 000013E0  A02A                     syscall    HUnlock
  1922. 000013E2  6100 FAB2                bsr        -0x54C /* 00000E96 */
  1923. 000013E6  4CDF 129E                movem.l    D1,D2,D3,D4,D7,A1,A4, [A7]+
  1924. 000013EA  4E75                     rts
  1925. fn000013EC:
  1926. 000013EC  48E7 F880                movem.l    -[A7], D0,D1,D2,D3,D4,A0
  1927. 000013F0  2F05                     move.l     -[A7], D5
  1928. 000013F2  0C6B FFFF 0096           cmpi.w     [A3 + 0x96], 0xFFFF
  1929. 000013F8  6704                     beq        +0x6 /* 000013FE */
  1930. label000013FA:
  1931. 000013FA  41EB 0076                lea.l      A0, [A3 + 0x76]
  1932. label000013FE:
  1933. 000013FE  2F05                     move.l     -[A7], D5
  1934. 00001400  4845                     swap.w     D5
  1935. 00001402  CAFC 0004                mulu.w     D5, 0x4
  1936. 00001406  3005                     move.w     D0, D5
  1937. 00001408  2A1F                     move.l     D5, [A7]+
  1938. 0000140A  D0C0                     add.w      A0, D0
  1939. 0000140C  2010                     move.l     D0, [A0]
  1940. 0000140E  740F                     moveq.l    D2, 0x0F
  1941. 00001410  7607                     moveq.l    D3, 0x07
  1942. 00001412  9645                     sub.w      D3, D5
  1943. 00001414  6706                     beq        +0x8 /* 0000141C */
  1944. label00001416:
  1945. 00001416  E898                     ror        D0, 4
  1946. 00001418  5343                     subq.w     D3, 1
  1947. 0000141A  6EFA                     bgt        -0x4 /* 00001416 */
  1948. label0000141C:
  1949. 0000141C  C082                     and.l      D0, D2
  1950. 0000141E  0C6B FFFF 0096           cmpi.w     [A3 + 0x96], 0xFFFF
  1951. 00001424  6614                     bne        +0x16 /* 0000143A */
  1952. 00001426  426B 0096                clr.w      [A3 + 0x96]
  1953. 0000142A  B06B 000A                cmp.w      D0, [A3 + 0xA]
  1954. 0000142E  660E                     bne        +0x10 /* 0000143E */
  1955. 00001430  377C 0001 0096           move.w     [A3 + 0x96], 0x1
  1956. 00001436  2A17                     move.l     D5, [A7]
  1957. 00001438  60C0                     bra        -0x3E /* 000013FA */
  1958. label0000143A:
  1959. 0000143A  3740 00C2                move.w     [A3 + 0xC2], D0
  1960. label0000143E:
  1961. 0000143E  2A1F                     move.l     D5, [A7]+
  1962. 00001440  4CDF 011F                movem.l    D0,D1,D2,D3,D4,A0, [A7]+
  1963. 00001444  4E75                     rts
  1964. label00001446:
  1965. 00001446  594F                     subq.w     A7, 4
  1966. 00001448  2F3C 7070 7423           move.l     -[A7], 0x70707423 /* 'ppt#' */
  1967. 0000144E  4267                     clr.w      -[A7]
  1968. 00001450  A9A0                     syscall    GetResource
  1969. 00001452  201F                     move.l     D0, [A7]+
  1970. 00001454  6608                     bne        +0xA /* 0000145E */
  1971. 00001456  3F3C 0001                move.w     -[A7], 0x1
  1972. 0000145A  6100 084E                bsr        +0x850 /* 00001CAA */
  1973. label0000145E:
  1974. 0000145E  2040                     movea.l    A0, D0
  1975. 00001460  2748 0070                move.l     [A3 + 0x70], A0
  1976. 00001464  2050                     movea.l    A0, [A0]
  1977. 00001466  3210                     move.w     D1, [A0]
  1978. 00001468  43FA F972                lea.l      A1, [PC - 0x68E /* 00000DDC, value 0x130097, cstring "" */]
  1979. 0000146C  3029 0002                move.w     D0, [A1 + 0x2]
  1980. 00001470  D069 0006                add.w      D0, [A1 + 0x6]
  1981. 00001474  E240                     asr        D0.w, 1
  1982. 00001476  224B                     movea.l    A1, A3
  1983. 00001478  B840                     cmp.w      D4, D0
  1984. 0000147A  6D00 00B6                blt        +0xB8 /* 00001532 */
  1985. 0000147E  48E7 2020                movem.l    -[A7], D2,A2
  1986. 00001482  5269 0008                addq.w     [A1 + 0x8], 1
  1987. 00001486  B269 0008                cmp.w      D1, [A1 + 0x8]
  1988. 0000148A  6E04                     bgt        +0x6 /* 00001490 */
  1989. 0000148C  4269 0008                clr.w      [A1 + 0x8]
  1990. label00001490:
  1991. 00001490  3029 0008                move.w     D0, [A1 + 0x8]
  1992. 00001494  2400                     move.l     D2, D0
  1993. 00001496  2448                     movea.l    A2, A0
  1994. label00001498:
  1995. 00001498  C0FC 0004                mulu.w     D0, 0x4
  1996. 0000149C  5440                     addq.w     D0, 2
  1997. 0000149E  204A                     movea.l    A0, A2
  1998. 000014A0  D0C0                     add.w      A0, D0
  1999. 000014A2  2010                     move.l     D0, [A0]
  2000. 000014A4  204A                     movea.l    A0, A2
  2001. 000014A6  D1C0                     add.l      A0, D0
  2002. 000014A8  6100 F09E                bsr        -0xF60 /* 00000548 */
  2003. 000014AC  0C69 0001 00B4           cmpi.w     [A1 + 0xB4], 0x1
  2004. 000014B2  671A                     beq        +0x1C /* 000014CE */
  2005. 000014B4  3002                     move.w     D0, D2
  2006. 000014B6  5240                     addq.w     D0, 1
  2007. 000014B8  B240                     cmp.w      D1, D0
  2008. 000014BA  6E02                     bgt        +0x4 /* 000014BE */
  2009. 000014BC  4240                     clr.w      D0
  2010. label000014BE:
  2011. 000014BE  3400                     move.w     D2, D0
  2012. 000014C0  B069 0008                cmp.w      D0, [A1 + 0x8]
  2013. 000014C4  66D2                     bne        -0x2C /* 00001498 */
  2014. 000014C6  4CDF 0404                movem.l    D2,A2, [A7]+
  2015. 000014CA  6000 FE54                bra        -0x1AA /* 00001320 */
  2016. label000014CE:
  2017. 000014CE  3342 0008                move.w     [A1 + 0x8], D2
  2018. 000014D2  224A                     movea.l    A1, A2
  2019. 000014D4  4CDF 0404                movem.l    D2,A2, [A7]+
  2020. label000014D8:
  2021. 000014D8  2028 0006                move.l     D0, [A0 + 0x6]
  2022. 000014DC  2F08                     move.l     -[A7], A0
  2023. 000014DE  D0C0                     add.w      A0, D0
  2024. 000014E0  2F08                     move.l     -[A7], A0
  2025. 000014E2  206B 001C                movea.l    A0, [A3 + 0x1C]
  2026. 000014E6  2050                     movea.l    A0, [A0]
  2027. 000014E8  2068 0006                movea.l    A0, [A0 + 0x6]
  2028. 000014EC  A025                     syscall    GetHandleSize
  2029. 000014EE  2250                     movea.l    A1, [A0]
  2030. 000014F0  205F                     movea.l    A0, [A7]+
  2031. 000014F2  A02E                     syscall    BlockMove/BlockMoveData
  2032. 000014F4  2057                     movea.l    A0, [A7]
  2033. 000014F6  2028 0002                move.l     D0, [A0 + 0x2]
  2034. 000014FA  D0C0                     add.w      A0, D0
  2035. 000014FC  2028 002A                move.l     D0, [A0 + 0x2A]
  2036. 00001500  205F                     movea.l    A0, [A7]+
  2037. 00001502  D0C0                     add.w      A0, D0
  2038. 00001504  2F08                     move.l     -[A7], A0
  2039. 00001506  206B 001C                movea.l    A0, [A3 + 0x1C]
  2040. 0000150A  2050                     movea.l    A0, [A0]
  2041. 0000150C  2068 0002                movea.l    A0, [A0 + 0x2]
  2042. 00001510  2050                     movea.l    A0, [A0]
  2043. 00001512  2068 002A                movea.l    A0, [A0 + 0x2A]
  2044. 00001516  A025                     syscall    GetHandleSize
  2045. 00001518  2250                     movea.l    A1, [A0]
  2046. 0000151A  205F                     movea.l    A0, [A7]+
  2047. 0000151C  A02E                     syscall    BlockMove/BlockMoveData
  2048. 0000151E  6100 F7D2                bsr        -0x82C /* 00000CF2 */
  2049. 00001522  6100 EFDE                bsr        -0x1020 /* 00000502 */
  2050. 00001526  6100 F810                bsr        -0x7EE /* 00000D38 */
  2051. 0000152A  6100 F7B8                bsr        -0x846 /* 00000CE4 */
  2052. 0000152E  6000 FDF0                bra        -0x20E /* 00001320 */
  2053. label00001532:
  2054. 00001532  48E7 2020                movem.l    -[A7], D2,A2
  2055. 00001536  5369 0008                subq.w     [A1 + 0x8], 1
  2056. 0000153A  6A08                     bpl        +0xA /* 00001544 */
  2057. 0000153C  2001                     move.l     D0, D1
  2058. 0000153E  5340                     subq.w     D0, 1
  2059. 00001540  3340 0008                move.w     [A1 + 0x8], D0
  2060. label00001544:
  2061. 00001544  3029 0008                move.w     D0, [A1 + 0x8]
  2062. 00001548  3400                     move.w     D2, D0
  2063. 0000154A  2448                     movea.l    A2, A0
  2064. label0000154C:
  2065. 0000154C  C0FC 0004                mulu.w     D0, 0x4
  2066. 00001550  5440                     addq.w     D0, 2
  2067. 00001552  204A                     movea.l    A0, A2
  2068. 00001554  D0C0                     add.w      A0, D0
  2069. 00001556  2010                     move.l     D0, [A0]
  2070. 00001558  204A                     movea.l    A0, A2
  2071. 0000155A  D1C0                     add.l      A0, D0
  2072. 0000155C  6100 EFEA                bsr        -0x1014 /* 00000548 */
  2073. 00001560  0C69 0001 00B4           cmpi.w     [A1 + 0xB4], 0x1
  2074. 00001566  671A                     beq        +0x1C /* 00001582 */
  2075. 00001568  3002                     move.w     D0, D2
  2076. 0000156A  5340                     subq.w     D0, 1
  2077. 0000156C  6A04                     bpl        +0x6 /* 00001572 */
  2078. 0000156E  2001                     move.l     D0, D1
  2079. 00001570  5340                     subq.w     D0, 1
  2080. label00001572:
  2081. 00001572  3400                     move.w     D2, D0
  2082. 00001574  B069 0008                cmp.w      D0, [A1 + 0x8]
  2083. 00001578  66D2                     bne        -0x2C /* 0000154C */
  2084. 0000157A  4CDF 0404                movem.l    D2,A2, [A7]+
  2085. 0000157E  6000 FDA0                bra        -0x25E /* 00001320 */
  2086. label00001582:
  2087. 00001582  3342 0008                move.w     [A1 + 0x8], D2
  2088. 00001586  224A                     movea.l    A1, A2
  2089. 00001588  4CDF 0404                movem.l    D2,A2, [A7]+
  2090. 0000158C  6000 FF4A                bra        -0xB4 /* 000014D8 */
  2091. label00001590:
  2092. 00001590  2448                     movea.l    A2, A0
  2093. 00001592  594F                     subq.w     A7, 4
  2094. 00001594  2F3C 5041 5423           move.l     -[A7], 0x50415423 /* 'PAT#' */
  2095. 0000159A  4267                     clr.w      -[A7]
  2096. 0000159C  A9A0                     syscall    GetResource
  2097. 0000159E  4A97                     tst.l      [A7]
  2098. 000015A0  660A                     bne        +0xC /* 000015AC */
  2099. 000015A2  584F                     addq.w     A7, 4
  2100. 000015A4  3F3C 0001                move.w     -[A7], 0x1
  2101. 000015A8  6100 0700                bsr        +0x702 /* 00001CAA */
  2102. label000015AC:
  2103. 000015AC  2257                     movea.l    A1, [A7]
  2104. 000015AE  2251                     movea.l    A1, [A1]
  2105. 000015B0  3211                     move.w     D1, [A1]
  2106. 000015B2  41FA F828                lea.l      A0, [PC - 0x7D8 /* 00000DDC, value 0x130097, cstring "" */]
  2107. 000015B6  3028 0002                move.w     D0, [A0 + 0x2]
  2108. 000015BA  D068 0006                add.w      D0, [A0 + 0x6]
  2109. 000015BE  E240                     asr        D0.w, 1
  2110. 000015C0  204B                     movea.l    A0, A3
  2111. 000015C2  5048                     addq.w     A0, 8
  2112. 000015C4  B840                     cmp.w      D4, D0
  2113. 000015C6  6D28                     blt        +0x2A /* 000015F0 */
  2114. 000015C8  5250                     addq.w     [A0], 1
  2115. 000015CA  B250                     cmp.w      D1, [A0]
  2116. 000015CC  6E02                     bgt        +0x4 /* 000015D0 */
  2117. 000015CE  4250                     clr.w      [A0]
  2118. label000015D0:
  2119. 000015D0  3010                     move.w     D0, [A0]
  2120. 000015D2  E740                     asl        D0.w, 3
  2121. 000015D4  225F                     movea.l    A1, [A7]+
  2122. 000015D6  2251                     movea.l    A1, [A1]
  2123. 000015D8  3219                     move.w     D1, [A1]+
  2124. 000015DA  D2C0                     add.w      A1, D0
  2125. 000015DC  5148                     subq.w     A0, 8
  2126. 000015DE  20D9                     move.l     [A0]+, [A1]+
  2127. 000015E0  20D9                     move.l     [A0]+, [A1]+
  2128. 000015E2  487A F7E8                pea.l      [PC - 0x818 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  2129. 000015E6  A8A3                     syscall    EraseRect
  2130. 000015E8  6100 F9D6                bsr        -0x628 /* 00000FC0 */
  2131. 000015EC  6000 FD32                bra        -0x2CC /* 00001320 */
  2132. label000015F0:
  2133. 000015F0  5350                     subq.w     [A0], 1
  2134. 000015F2  6ADC                     bpl        -0x22 /* 000015D0 */
  2135. 000015F4  5341                     subq.w     D1, 1
  2136. 000015F6  3081                     move.w     [A0], D1
  2137. 000015F8  60D6                     bra        -0x28 /* 000015D0 */
  2138. label000015FA:
  2139. 000015FA  6132                     bsr        +0x34 /* 0000162E */
  2140. 000015FC  614E                     bsr        +0x50 /* 0000164C */
  2141. 000015FE  487A F7DC                pea.l      [PC - 0x824 /* 00000DDC, value 0x130097, cstring "" */]
  2142. 00001602  2F3C 0003 0003           move.l     -[A7], 0x30003
  2143. 00001608  2F0B                     move.l     -[A7], A3
  2144. 0000160A  A8B4                     syscall    FillRoundRect
  2145. label0000160C:
  2146. 0000160C  5D4F                     subq.w     A7, 6
  2147. 0000160E  2F0F                     move.l     -[A7], A7
  2148. 00001610  A972                     syscall    GetMouse
  2149. 00001612  2817                     move.l     D4, [A7]
  2150. 00001614  487A F7B6                pea.l      [PC - 0x84A /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  2151. 00001618  A8AD                     syscall    PtInRect
  2152. 0000161A  4A1F                     tst.b      [A7]+
  2153. 0000161C  6704                     beq        +0x6 /* 00001622 */
  2154. 0000161E  610E                     bsr        +0x10 /* 0000162E */
  2155. 00001620  616C                     bsr        +0x6E /* 0000168E */
  2156. label00001622:
  2157. 00001622  554F                     subq.w     A7, 2
  2158. 00001624  A973                     syscall    StillDown
  2159. 00001626  4A1F                     tst.b      [A7]+
  2160. 00001628  66E2                     bne        -0x1C /* 0000160C */
  2161. 0000162A  6000 FCF4                bra        -0x30A /* 00001320 */
  2162. fn0000162E:
  2163. 0000162E  41FA F79C                lea.l      A0, [PC - 0x864 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  2164. 00001632  9868 0002                sub.w      D4, [A0 + 0x2]
  2165. 00001636  4844                     swap.w     D4
  2166. 00001638  9850                     sub.w      D4, [A0]
  2167. 0000163A  6104                     bsr        +0x6 /* 00001640 */
  2168. 0000163C  4844                     swap.w     D4
  2169. 0000163E  4845                     swap.w     D5
  2170. fn00001640:
  2171. 00001640  3004                     move.w     D0, D4
  2172. 00001642  48C0                     ext.l      D0
  2173. 00001644  80FC 0005                divu.w     D0, 0x5
  2174. 00001648  3A00                     move.w     D5, D0
  2175. 0000164A  4E75                     rts
  2176. fn0000164C:
  2177. 0000164C  514F                     subq.w     A7, 8
  2178. 0000164E  43FA F77C                lea.l      A1, [PC - 0x884 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */]
  2179. 00001652  204B                     movea.l    A0, A3
  2180. 00001654  7007                     moveq.l    D0, 0x07
  2181. 00001656  9045                     sub.w      D0, D5
  2182. 00001658  4845                     swap.w     D5
  2183. 0000165A  0170 5000                bchg       [A0 + D5.w], D0
  2184. 0000165E  57C6                     seq        D6
  2185. 00001660  3005                     move.w     D0, D5
  2186. 00001662  C0FC 0005                mulu.w     D0, 0x5
  2187. 00001666  D051                     add.w      D0, [A1]
  2188. 00001668  3E80                     move.w     [A7], D0
  2189. 0000166A  5840                     addq.w     D0, 4
  2190. 0000166C  3F40 0004                move.w     [A7 + 0x4], D0
  2191. 00001670  4845                     swap.w     D5
  2192. 00001672  3005                     move.w     D0, D5
  2193. 00001674  C0FC 0005                mulu.w     D0, 0x5
  2194. 00001678  D069 0002                add.w      D0, [A1 + 0x2]
  2195. 0000167C  3F40 0002                move.w     [A7 + 0x2], D0
  2196. 00001680  5840                     addq.w     D0, 4
  2197. 00001682  3F40 0006                move.w     [A7 + 0x6], D0
  2198. 00001686  2F0F                     move.l     -[A7], A7
  2199. 00001688  A8A4                     syscall    InvertRect
  2200. 0000168A  504F                     addq.w     A7, 8
  2201. 0000168C  4E75                     rts
  2202. fn0000168E:
  2203. 0000168E  204B                     movea.l    A0, A3
  2204. 00001690  7007                     moveq.l    D0, 0x07
  2205. 00001692  9045                     sub.w      D0, D5
  2206. 00001694  4845                     swap.w     D5
  2207. 00001696  4A06                     tst.b      D6
  2208. 00001698  671A                     beq        +0x1C /* 000016B4 */
  2209. 0000169A  0130 5000                btst       [A0 + D5.w], D0
  2210. 0000169E  661A                     bne        +0x1C /* 000016BA */
  2211. label000016A0:
  2212. 000016A0  4845                     swap.w     D5
  2213. 000016A2  61A8                     bsr        -0x56 /* 0000164C */
  2214. 000016A4  487A F736                pea.l      [PC - 0x8CA /* 00000DDC, value 0x130097, cstring "" */]
  2215. 000016A8  2F3C 0003 0003           move.l     -[A7], 0x30003
  2216. 000016AE  2F0B                     move.l     -[A7], A3
  2217. 000016B0  A8B4                     syscall    FillRoundRect
  2218. 000016B2  4E75                     rts
  2219. label000016B4:
  2220. 000016B4  0130 5000                btst       [A0 + D5.w], D0
  2221. 000016B8  66E6                     bne        -0x18 /* 000016A0 */
  2222. label000016BA:
  2223. 000016BA  4845                     swap.w     D5
  2224. 000016BC  4E75                     rts
  2225. label000016BE:
  2226. 000016BE  6100 F262                bsr        -0xD9C /* 00000922 */
  2227. 000016C2  4E56 FEF8                link       A6, -0x0108
  2228. 000016C6  2F0A                     move.l     -[A7], A2
  2229. 000016C8  244C                     movea.l    A2, A4
  2230. 000016CA  2857                     movea.l    A4, [A7]
  2231. 000016CC  3012                     move.w     D0, [A2]
  2232. 000016CE  5340                     subq.w     D0, 1
  2233. 000016D0  6718                     beq        +0x1A /* 000016EA */
  2234. 000016D2  5540                     subq.w     D0, 2
  2235. 000016D4  6700 03BE                beq        +0x3C0 /* 00001A94 */
  2236. 000016D8  5540                     subq.w     D0, 2
  2237. 000016DA  6700 03B8                beq        +0x3BA /* 00001A94 */
  2238. label000016DE:
  2239. 000016DE  245F                     movea.l    A2, [A7]+
  2240. 000016E0  4E5E                     unlink     A6
  2241. 000016E2  6100 F26A                bsr        -0xD94 /* 0000094E */
  2242. 000016E6  6000 EAB4                bra        -0x154A /* 0000019C */
  2243. label000016EA:
  2244. 000016EA  2D6A 000A FEF8           move.l     [A6 - 0x108], [A2 + 0xA]
  2245. 000016F0  486E FEF8                pea.l      [A6 - 0x108]
  2246. 000016F4  A871                     syscall    GlobalToLocal
  2247. 000016F6  0C43 001E                cmpi.w     D3, 0x1E
  2248. 000016FA  6614                     bne        +0x16 /* 00001710 */
  2249. 000016FC  0C6B 0003 003A           cmpi.w     [A3 + 0x3A], 0x3
  2250. 00001702  671E                     beq        +0x20 /* 00001722 */
  2251. 00001704  244C                     movea.l    A2, A4
  2252. 00001706  6158                     bsr        +0x5A /* 00001760 */
  2253. 00001708  377C 0003 003A           move.w     [A3 + 0x3A], 0x3
  2254. 0000170E  6012                     bra        +0x14 /* 00001722 */
  2255. label00001710:
  2256. 00001710  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2257. 00001716  670A                     beq        +0xC /* 00001722 */
  2258. 00001718  244C                     movea.l    A2, A4
  2259. 0000171A  6144                     bsr        +0x46 /* 00001760 */
  2260. 0000171C  377C 0001 003A           move.w     [A3 + 0x3A], 0x1
  2261. label00001722:
  2262. 00001722  4AAB 002C                tst.l      [A3 + 0x2C]
  2263. 00001726  6722                     beq        +0x24 /* 0000174A */
  2264. 00001728  554F                     subq.w     A7, 2
  2265. 0000172A  2F2E FEF8                move.l     -[A7], [A6 - 0x108]
  2266. 0000172E  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2267. 00001734  6606                     bne        +0x8 /* 0000173C */
  2268. 00001736  487A 053E                pea.l      [PC + 0x53E /* 00001C76, value 0xBA0119, cstring "" */]
  2269. 0000173A  6004                     bra        +0x6 /* 00001740 */
  2270. label0000173C:
  2271. 0000173C  487A 0530                pea.l      [PC + 0x530 /* 00001C6E, value 0x700119, cstring "" */]
  2272. label00001740:
  2273. 00001740  A8AD                     syscall    PtInRect
  2274. 00001742  4A1F                     tst.b      [A7]+
  2275. 00001744  6704                     beq        +0x6 /* 0000174A */
  2276. 00001746  6100 01A0                bsr        +0x1A2 /* 000018E8 */
  2277. label0000174A:
  2278. 0000174A  6102                     bsr        +0x4 /* 0000174E */
  2279. 0000174C  6090                     bra        -0x6E /* 000016DE */
  2280. fn0000174E:
  2281. 0000174E  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  2282. 00001752  282E FEF8                move.l     D4, [A6 - 0x108]
  2283. 00001756  6100 0098                bsr        +0x9A /* 000017F0 */
  2284. 0000175A  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  2285. 0000175E  4E75                     rts
  2286. fn00001760:
  2287. 00001760  48E7 1800                movem.l    -[A7], D3,D4
  2288. 00001764  204B                     movea.l    A0, A3
  2289. 00001766  2628 002C                move.l     D3, [A0 + 0x2C]
  2290. 0000176A  6776                     beq        +0x78 /* 000017E2 */
  2291. 0000176C  42A8 002C                clr.l      [A0 + 0x2C]
  2292. 00001770  317C FFFF 0030           move.w     [A0 + 0x30], 0xFFFF
  2293. 00001776  594F                     subq.w     A7, 4
  2294. 00001778  204F                     movea.l    A0, A7
  2295. 0000177A  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  2296. 0000177E  4240                     clr.w      D0
  2297. 00001780  281F                     move.l     D4, [A7]+
  2298. 00001782  2004                     move.l     D0, D4
  2299. 00001784  204B                     movea.l    A0, A3
  2300. 00001786  41EE FF00                lea.l      A0, [A6 - 0x100]
  2301. 0000178A  A9C6                     syscall    SecondsToDate/Secs2Date
  2302. 0000178C  204B                     movea.l    A0, A3
  2303. 0000178E  3228 003A                move.w     D1, [A0 + 0x3A]
  2304. 00001792  5341                     subq.w     D1, 1
  2305. 00001794  6704                     beq        +0x6 /* 0000179A */
  2306. 00001796  7006                     moveq.l    D0, 0x06
  2307. 00001798  6002                     bra        +0x4 /* 0000179C */
  2308. label0000179A:
  2309. 0000179A  7000                     moveq.l    D0, 0x00
  2310. label0000179C:
  2311. 0000179C  224B                     movea.l    A1, A3
  2312. 0000179E  41EE FF00                lea.l      A0, [A6 - 0x100]
  2313. 000017A2  21B1 005A 0000           move.l     [A0 + D0.w], [A1 + D0.w + 0x5A]
  2314. 000017A8  31B1 005E 0004           move.w     [A0 + D0.w + 0x4], [A1 + D0.w + 0x5E]
  2315. 000017AE  4A41                     tst.w      D1
  2316. 000017B0  670C                     beq        +0xE /* 000017BE */
  2317. 000017B2  5541                     subq.w     D1, 2
  2318. 000017B4  6708                     beq        +0xA /* 000017BE */
  2319. 000017B6  A9C7                     syscall    DateToSeconds/Date2Secs
  2320. 000017B8  21C0 0200                move.l     [0x00000200 /* SPAlarm */], D0
  2321. 000017BC  6004                     bra        +0x6 /* 000017C2 */
  2322. label000017BE:
  2323. 000017BE  A9C7                     syscall    DateToSeconds/Date2Secs
  2324. 000017C0  A03A                     syscall    SetDateTime
  2325. label000017C2:
  2326. 000017C2  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2327. 000017C8  6606                     bne        +0x8 /* 000017D0 */
  2328. 000017CA  303C 001D                move.w     D0, 0x1D
  2329. 000017CE  6004                     bra        +0x6 /* 000017D4 */
  2330. label000017D0:
  2331. 000017D0  303C 001E                move.w     D0, 0x1E
  2332. label000017D4:
  2333. 000017D4  6100 EEFE                bsr        -0x1100 /* 000006D4 */
  2334. 000017D8  486E FFF2                pea.l      [A6 - 0xE]
  2335. 000017DC  A8A3                     syscall    EraseRect
  2336. 000017DE  6100 F0D4                bsr        -0xF2A /* 000008B4 */
  2337. label000017E2:
  2338. 000017E2  4CDF 0018                movem.l    D3,D4, [A7]+
  2339. 000017E6  4E75                     rts
  2340. fn000017E8:
  2341. 000017E8  6100 F208                bsr        -0xDF6 /* 000009F2 */
  2342. 000017EC  6000 F2A4                bra        -0xD5A /* 00000A92 */
  2343. fn000017F0:
  2344. 000017F0  48E7 1C10                movem.l    -[A7], D3,D4,D5,A3
  2345. label000017F4:
  2346. 000017F4  61F2                     bsr        -0xC /* 000017E8 */
  2347. 000017F6  7608                     moveq.l    D3, 0x08
  2348. label000017F8:
  2349. 000017F8  554F                     subq.w     A7, 2
  2350. 000017FA  2F04                     move.l     -[A7], D4
  2351. 000017FC  3003                     move.w     D0, D3
  2352. 000017FE  6100 F246                bsr        -0xDB8 /* 00000A46 */
  2353. 00001802  A8AD                     syscall    PtInRect
  2354. 00001804  4A1F                     tst.b      [A7]+
  2355. 00001806  6606                     bne        +0x8 /* 0000180E */
  2356. 00001808  5543                     subq.w     D3, 2
  2357. 0000180A  66EC                     bne        -0x12 /* 000017F8 */
  2358. 0000180C  606E                     bra        +0x70 /* 0000187C */
  2359. label0000180E:
  2360. 0000180E  204B                     movea.l    A0, A3
  2361. 00001810  2A28 002C                move.l     D5, [A0 + 0x2C]
  2362. 00001814  6644                     bne        +0x46 /* 0000185A */
  2363. 00001816  4A43                     tst.w      D3
  2364. 00001818  6762                     beq        +0x64 /* 0000187C */
  2365. 0000181A  204B                     movea.l    A0, A3
  2366. 0000181C  3143 0030                move.w     [A0 + 0x30], D3
  2367. 00001820  2038 0200                move.l     D0, [0x00000200 /* SPAlarm */]
  2368. 00001824  3228 003A                move.w     D1, [A0 + 0x3A]
  2369. 00001828  5541                     subq.w     D1, 2
  2370. 0000182A  6710                     beq        +0x12 /* 0000183C */
  2371. 0000182C  43E8 005A                lea.l      A1, [A0 + 0x5A]
  2372. 00001830  41E8 002C                lea.l      A0, [A0 + 0x2C]
  2373. 00001834  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  2374. 00001838  4240                     clr.w      D0
  2375. 0000183A  2010                     move.l     D0, [A0]
  2376. label0000183C:
  2377. 0000183C  204B                     movea.l    A0, A3
  2378. 0000183E  2140 002C                move.l     [A0 + 0x2C], D0
  2379. 00001842  41E8 005A                lea.l      A0, [A0 + 0x5A]
  2380. 00001846  A9C6                     syscall    SecondsToDate/Secs2Date
  2381. 00001848  3003                     move.w     D0, D3
  2382. 0000184A  6100 F1FA                bsr        -0xE04 /* 00000A46 */
  2383. 0000184E  08B8 0007 0938           bclr.b     [0x00000938 /* HiliteMode */], 0x7
  2384. 00001854  A8A4                     syscall    InvertRect
  2385. 00001856  6160                     bsr        +0x62 /* 000018B8 */
  2386. 00001858  6022                     bra        +0x24 /* 0000187C */
  2387. label0000185A:
  2388. 0000185A  4A43                     tst.w      D3
  2389. 0000185C  671E                     beq        +0x20 /* 0000187C */
  2390. 0000185E  204B                     movea.l    A0, A3
  2391. 00001860  3028 0030                move.w     D0, [A0 + 0x30]
  2392. 00001864  B640                     cmp.w      D3, D0
  2393. 00001866  6714                     beq        +0x16 /* 0000187C */
  2394. 00001868  6100 F1B8                bsr        -0xE46 /* 00000A22 */
  2395. 0000186C  204B                     movea.l    A0, A3
  2396. 0000186E  4268 0044                clr.w      [A0 + 0x44]
  2397. 00001872  3143 0030                move.w     [A0 + 0x30], D3
  2398. 00001876  3003                     move.w     D0, D3
  2399. 00001878  6100 F1A8                bsr        -0xE56 /* 00000A22 */
  2400. label0000187C:
  2401. 0000187C  5D4F                     subq.w     A7, 6
  2402. 0000187E  2F0F                     move.l     -[A7], A7
  2403. 00001880  A972                     syscall    GetMouse
  2404. 00001882  281F                     move.l     D4, [A7]+
  2405. 00001884  A973                     syscall    StillDown
  2406. 00001886  4A1F                     tst.b      [A7]+
  2407. 00001888  6600 FF6A                bne        -0x94 /* 000017F4 */
  2408. 0000188C  7608                     moveq.l    D3, 0x08
  2409. label0000188E:
  2410. 0000188E  554F                     subq.w     A7, 2
  2411. 00001890  2F04                     move.l     -[A7], D4
  2412. 00001892  3003                     move.w     D0, D3
  2413. 00001894  6100 F1B0                bsr        -0xE4E /* 00000A46 */
  2414. 00001898  A8AD                     syscall    PtInRect
  2415. 0000189A  4A1F                     tst.b      [A7]+
  2416. 0000189C  6606                     bne        +0x8 /* 000018A4 */
  2417. 0000189E  5543                     subq.w     D3, 2
  2418. 000018A0  66EC                     bne        -0x12 /* 0000188E */
  2419. 000018A2  6006                     bra        +0x8 /* 000018AA */
  2420. label000018A4:
  2421. 000018A4  204B                     movea.l    A0, A3
  2422. 000018A6  4AA8 002C                tst.l      [A0 + 0x2C]
  2423. label000018AA:
  2424. 000018AA  4CDF 0838                movem.l    D3,D4,D5,A3, [A7]+
  2425. 000018AE  4E75                     rts
  2426. label000018B0:
  2427. 000018B0  6100 FEAE                bsr        -0x150 /* 00001760 */
  2428. 000018B4  6000 E8E6                bra        -0x1718 /* 0000019C */
  2429. fn000018B8:
  2430. 000018B8  594F                     subq.w     A7, 4
  2431. 000018BA  3F3C F030                move.w     -[A7], 0xF030
  2432. 000018BE  A9BC                     syscall    GetPicture
  2433. 000018C0  4A97                     tst.l      [A7]
  2434. 000018C2  6720                     beq        +0x22 /* 000018E4 */
  2435. 000018C4  2F17                     move.l     -[A7], [A7]
  2436. 000018C6  2057                     movea.l    A0, [A7]
  2437. 000018C8  A04A                     syscall    HNoPurge
  2438. 000018CA  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2439. 000018D0  6606                     bne        +0x8 /* 000018D8 */
  2440. 000018D2  487A 03A2                pea.l      [PC + 0x3A2 /* 00001C76, value 0xBA0119, cstring "" */]
  2441. 000018D6  6004                     bra        +0x6 /* 000018DC */
  2442. label000018D8:
  2443. 000018D8  487A 0394                pea.l      [PC + 0x394 /* 00001C6E, value 0x700119, cstring "" */]
  2444. label000018DC:
  2445. 000018DC  A8F6                     syscall    DrawPicture
  2446. 000018DE  205F                     movea.l    A0, [A7]+
  2447. 000018E0  A049                     syscall    HPurge
  2448. label000018E2:
  2449. 000018E2  4E75                     rts
  2450. label000018E4:
  2451. 000018E4  584F                     addq.w     A7, 4
  2452. 000018E6  60FA                     bra        -0x4 /* 000018E2 */
  2453. fn000018E8:
  2454. 000018E8  2F03                     move.l     -[A7], D3
  2455. 000018EA  7600                     moveq.l    D3, 0x00
  2456. label000018EC:
  2457. 000018EC  204B                     movea.l    A0, A3
  2458. 000018EE  4A68 0030                tst.w      [A0 + 0x30]
  2459. 000018F2  675E                     beq        +0x60 /* 00001952 */
  2460. 000018F4  5D4F                     subq.w     A7, 6
  2461. 000018F6  2F0F                     move.l     -[A7], A7
  2462. 000018F8  A972                     syscall    GetMouse
  2463. 000018FA  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2464. 00001900  6606                     bne        +0x8 /* 00001908 */
  2465. 00001902  487A 0372                pea.l      [PC + 0x372 /* 00001C76, value 0xBA0119, cstring "" */]
  2466. 00001906  6004                     bra        +0x6 /* 0000190C */
  2467. label00001908:
  2468. 00001908  487A 0364                pea.l      [PC + 0x364 /* 00001C6E, value 0x700119, cstring "" */]
  2469. label0000190C:
  2470. 0000190C  A8AD                     syscall    PtInRect
  2471. 0000190E  4A1F                     tst.b      [A7]+
  2472. 00001910  6738                     beq        +0x3A /* 0000194A */
  2473. 00001912  6142                     bsr        +0x44 /* 00001956 */
  2474. 00001914  72FF                     moveq.l    D1, 0xFFFFFFFF
  2475. 00001916  4840                     swap.w     D0
  2476. 00001918  0440 0009                subi.w     D0, 0x9 /* '\t' */
  2477. 0000191C  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2478. 00001922  6606                     bne        +0x8 /* 0000192A */
  2479. 00001924  B07A 0350                cmp.w      D0, [PC + 0x350 /* 00001C76, value 0xBA, cstring "" */]
  2480. 00001928  6004                     bra        +0x6 /* 0000192E */
  2481. label0000192A:
  2482. 0000192A  B07A 0342                cmp.w      D0, [PC + 0x342 /* 00001C6E, value 0x70 'p', cstring "" */]
  2483. label0000192E:
  2484. 0000192E  6A02                     bpl        +0x4 /* 00001932 */
  2485. 00001930  7201                     moveq.l    D1, 0x01
  2486. label00001932:
  2487. 00001932  6172                     bsr        +0x74 /* 000019A6 */
  2488. 00001934  6100 EFEC                bsr        -0x1012 /* 00000922 */
  2489. 00001938  6126                     bsr        +0x28 /* 00001960 */
  2490. 0000193A  6100 F012                bsr        -0xFEC /* 0000094E */
  2491. 0000193E  4A43                     tst.w      D3
  2492. 00001940  6608                     bne        +0xA /* 0000194A */
  2493. 00001942  76FF                     moveq.l    D3, 0xFFFFFFFF
  2494. 00001944  307C 000F                movea.w    A0, 0xF
  2495. 00001948  A03B                     syscall    Delay
  2496. label0000194A:
  2497. 0000194A  554F                     subq.w     A7, 2
  2498. 0000194C  A973                     syscall    StillDown
  2499. 0000194E  4A1F                     tst.b      [A7]+
  2500. 00001950  669A                     bne        -0x64 /* 000018EC */
  2501. label00001952:
  2502. 00001952  261F                     move.l     D3, [A7]+
  2503. 00001954  4E75                     rts
  2504. fn00001956:
  2505. 00001956  594F                     subq.w     A7, 4
  2506. 00001958  2F0F                     move.l     -[A7], A7
  2507. 0000195A  A972                     syscall    GetMouse
  2508. 0000195C  201F                     move.l     D0, [A7]+
  2509. 0000195E  4E75                     rts
  2510. fn00001960:
  2511. 00001960  204B                     movea.l    A0, A3
  2512. 00001962  3028 0030                move.w     D0, [A0 + 0x30]
  2513. 00001966  6B26                     bmi        +0x28 /* 0000198E */
  2514. 00001968  6100 F088                bsr        -0xF76 /* 000009F2 */
  2515. 0000196C  6100 F124                bsr        -0xEDA /* 00000A92 */
  2516. 00001970  204B                     movea.l    A0, A3
  2517. 00001972  3028 0030                move.w     D0, [A0 + 0x30]
  2518. 00001976  6100 F0AA                bsr        -0xF54 /* 00000A22 */
  2519. 0000197A  6100 EF86                bsr        -0x1078 /* 00000902 */
  2520. 0000197E  6100 FF38                bsr        -0xC6 /* 000018B8 */
  2521. 00001982  204B                     movea.l    A0, A3
  2522. 00001984  3028 0030                move.w     D0, [A0 + 0x30]
  2523. 00001988  6100 F098                bsr        -0xF66 /* 00000A22 */
  2524. 0000198C  4E75                     rts
  2525. label0000198E:
  2526. 0000198E  0C6B 0001 003A           cmpi.w     [A3 + 0x3A], 0x1
  2527. 00001994  6606                     bne        +0x8 /* 0000199C */
  2528. 00001996  487A 02DE                pea.l      [PC + 0x2DE /* 00001C76, value 0xBA0119, cstring "" */]
  2529. 0000199A  6004                     bra        +0x6 /* 000019A0 */
  2530. label0000199C:
  2531. 0000199C  487A 02D0                pea.l      [PC + 0x2D0 /* 00001C6E, value 0x700119, cstring "" */]
  2532. label000019A0:
  2533. 000019A0  A8A3                     syscall    EraseRect
  2534. 000019A2  6000 EF5E                bra        -0x10A0 /* 00000902 */
  2535. fn000019A6:
  2536. 000019A6  48E7 3C00                movem.l    -[A7], D2,D3,D4,D5
  2537. 000019AA  224B                     movea.l    A1, A3
  2538. 000019AC  2029 002C                move.l     D0, [A1 + 0x2C]
  2539. 000019B0  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2540. 000019B4  A9C6                     syscall    SecondsToDate/Secs2Date
  2541. 000019B6  6178                     bsr        +0x7A /* 00001A30 */
  2542. 000019B8  3801                     move.w     D4, D1
  2543. 000019BA  3A00                     move.w     D5, D0
  2544. label000019BC:
  2545. 000019BC  7000                     moveq.l    D0, 0x00
  2546. 000019BE  3031 505A                move.w     D0, [A1 + D5.w + 0x5A]
  2547. 000019C2  D044                     add.w      D0, D4
  2548. 000019C4  41FA 02C4                lea.l      A0, [PC + 0x2C4 /* 00001C8A, value 0x7E3000C */]
  2549. 000019C8  3230 5000                move.w     D1, [A0 + D5.w]
  2550. 000019CC  41FA 02B0                lea.l      A0, [PC + 0x2B0 /* 00001C7E, value 0x7800001 */]
  2551. 000019D0  9270 5000                sub.w      D1, [A0 + D5.w]
  2552. 000019D4  9070 5000                sub.w      D0, [A0 + D5.w]
  2553. 000019D8  5241                     addq.w     D1, 1
  2554. 000019DA  4A40                     tst.w      D0
  2555. 000019DC  6A02                     bpl        +0x4 /* 000019E0 */
  2556. 000019DE  D041                     add.w      D0, D1
  2557. label000019E0:
  2558. 000019E0  80C1                     divu.w     D0, D1
  2559. 000019E2  4840                     swap.w     D0
  2560. 000019E4  D070 5000                add.w      D0, [A0 + D5.w]
  2561. 000019E8  3380 505A                move.w     [A1 + D5.w + 0x5A], D0
  2562. 000019EC  3F00                     move.w     -[A7], D0
  2563. 000019EE  3F29 005C                move.w     -[A7], [A1 + 0x5C]
  2564. 000019F2  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2565. 000019F6  A9C7                     syscall    DateToSeconds/Date2Secs
  2566. 000019F8  2F00                     move.l     -[A7], D0
  2567. 000019FA  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2568. 000019FE  A9C6                     syscall    SecondsToDate/Secs2Date
  2569. 00001A00  205F                     movea.l    A0, [A7]+
  2570. 00001A02  321F                     move.w     D1, [A7]+
  2571. 00001A04  301F                     move.w     D0, [A7]+
  2572. 00001A06  B071 505A                cmp.w      D0, [A1 + D5.w + 0x5A]
  2573. 00001A0A  6606                     bne        +0x8 /* 00001A12 */
  2574. 00001A0C  B269 005C                cmp.w      D1, [A1 + 0x5C]
  2575. 00001A10  6714                     beq        +0x16 /* 00001A26 */
  2576. label00001A12:
  2577. 00001A12  3F00                     move.w     -[A7], D0
  2578. 00001A14  2029 002C                move.l     D0, [A1 + 0x2C]
  2579. 00001A18  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2580. 00001A1C  A9C6                     syscall    SecondsToDate/Secs2Date
  2581. 00001A1E  301F                     move.w     D0, [A7]+
  2582. 00001A20  3380 505A                move.w     [A1 + D5.w + 0x5A], D0
  2583. 00001A24  6096                     bra        -0x68 /* 000019BC */
  2584. label00001A26:
  2585. 00001A26  2348 002C                move.l     [A1 + 0x2C], A0
  2586. 00001A2A  4CDF 003C                movem.l    D2,D3,D4,D5, [A7]+
  2587. 00001A2E  4E75                     rts
  2588. fn00001A30:
  2589. 00001A30  3F02                     move.w     -[A7], D2
  2590. 00001A32  204B                     movea.l    A0, A3
  2591. 00001A34  3028 003A                move.w     D0, [A0 + 0x3A]
  2592. 00001A38  5340                     subq.w     D0, 1
  2593. 00001A3A  672E                     beq        +0x30 /* 00001A6A */
  2594. 00001A3C  204B                     movea.l    A0, A3
  2595. 00001A3E  3428 0030                move.w     D2, [A0 + 0x30]
  2596. 00001A42  0C42 0008                cmpi.w     D2, 0x8
  2597. 00001A46  661E                     bne        +0x20 /* 00001A66 */
  2598. 00001A48  48E7 C000                movem.l    -[A7], D0,D1
  2599. 00001A4C  7006                     moveq.l    D0, 0x06
  2600. 00001A4E  3230 005A                move.w     D1, [A0 + D0.w + 0x5A]
  2601. 00001A52  0C41 000C                cmpi.w     D1, 0xC
  2602. 00001A56  6C06                     bge        +0x8 /* 00001A5E */
  2603. 00001A58  317C 0001 0028           move.w     [A0 + 0x28], 0x1
  2604. label00001A5E:
  2605. 00001A5E  4CDF 0003                movem.l    D0,D1, [A7]+
  2606. 00001A62  7402                     moveq.l    D2, 0x02
  2607. 00001A64  720C                     moveq.l    D1, 0x0C
  2608. label00001A66:
  2609. 00001A66  5842                     addq.w     D2, 4
  2610. 00001A68  601A                     bra        +0x1C /* 00001A84 */
  2611. label00001A6A:
  2612. 00001A6A  204B                     movea.l    A0, A3
  2613. 00001A6C  3028 0030                move.w     D0, [A0 + 0x30]
  2614. 00001A70  E240                     asr        D0.w, 1
  2615. 00001A72  5340                     subq.w     D0, 1
  2616. 00001A74  3428 0038                move.w     D2, [A0 + 0x38]
  2617. 00001A78  D042                     add.w      D0, D2
  2618. 00001A7A  D442                     add.w      D2, D2
  2619. 00001A7C  D042                     add.w      D0, D2
  2620. 00001A7E  7400                     moveq.l    D2, 0x00
  2621. 00001A80  143B 0008                move.b     D2, [PC + D0.w + 0x8]
  2622. label00001A84:
  2623. 00001A84  3002                     move.w     D0, D2
  2624. 00001A86  341F                     move.w     D2, [A7]+
  2625. 00001A88  4E75                     rts
  2626. 00001A8A  0204 0004                andi.b     D4, 0x4
  2627. 00001A8E  0200 0002                andi.b     D0, 0x2
  2628. 00001A92  0400 082A                subi.b     D0, 0x2A /* '*' */
  2629. // begin alternate branch 00001A94-00001A9A
  2630. label00001A94:
  2631. 00001A94  082A 0000 000E           btst.b     [A2 + 0xE], 0x0
  2632. // end alternate branch 00001A94-00001A9A
  2633. label00001A94: // (misaligned)
  2634. 00001A96  0000 000E                ori.b      D0, 0xE
  2635. 00001A9A  6704                     beq        +0x6 /* 00001AA0 */
  2636. 00001A9C  6000 0166                bra        +0x168 /* 00001C04 */
  2637. label00001AA0:
  2638. 00001AA0  4AAB 002C                tst.l      [A3 + 0x2C]
  2639. 00001AA4  6700 FC38                beq        -0x3C6 /* 000016DE */
  2640. 00001AA8  7400                     moveq.l    D2, 0x00
  2641. 00001AAA  142A 0005                move.b     D2, [A2 + 0x5]
  2642. 00001AAE  0C02 0003                cmpi.b     D2, 0x3
  2643. 00001AB2  6700 013C                beq        +0x13E /* 00001BF0 */
  2644. 00001AB6  0C02 000D                cmpi.b     D2, 0xD /* '\r' */
  2645. 00001ABA  6700 0134                beq        +0x136 /* 00001BF0 */
  2646. 00001ABE  0C02 0009                cmpi.b     D2, 0x9 /* '\t' */
  2647. 00001AC2  6700 0164                beq        +0x166 /* 00001C28 */
  2648. 00001AC6  0C02 0061                cmpi.b     D2, 0x61 /* 'a' */
  2649. 00001ACA  6D04                     blt        +0x6 /* 00001AD0 */
  2650. 00001ACC  0402 0020                subi.b     D2, 0x20 /* ' ' */
  2651. label00001AD0:
  2652. 00001AD0  224B                     movea.l    A1, A3
  2653. 00001AD2  0C69 0008 0030           cmpi.w     [A1 + 0x30], 0x8
  2654. 00001AD8  664C                     bne        +0x4E /* 00001B26 */
  2655. 00001ADA  0C02 0020                cmpi.b     D2, 0x20 /* ' ' */
  2656. 00001ADE  660E                     bne        +0x10 /* 00001AEE */
  2657. label00001AE0:
  2658. 00001AE0  7201                     moveq.l    D1, 0x01
  2659. 00001AE2  6100 FEC2                bsr        -0x13C /* 000019A6 */
  2660. 00001AE6  6100 FE78                bsr        -0x186 /* 00001960 */
  2661. 00001AEA  6000 FBF2                bra        -0x40C /* 000016DE */
  2662. label00001AEE:
  2663. 00001AEE  1229 0036                move.b     D1, [A1 + 0x36]
  2664. 00001AF2  B229 0037                cmp.b      D1, [A1 + 0x37]
  2665. 00001AF6  6700 010C                beq        +0x10E /* 00001C04 */
  2666. 00001AFA  B202                     cmp.b      D1, D2
  2667. 00001AFC  6610                     bne        +0x12 /* 00001B0E */
  2668. 00001AFE  7006                     moveq.l    D0, 0x06
  2669. 00001B00  3231 005A                move.w     D1, [A1 + D0.w + 0x5A]
  2670. 00001B04  0C41 000C                cmpi.w     D1, 0xC
  2671. 00001B08  6CD6                     bge        -0x28 /* 00001AE0 */
  2672. 00001B0A  6000 FBD2                bra        -0x42C /* 000016DE */
  2673. label00001B0E:
  2674. 00001B0E  B429 0037                cmp.b      D2, [A1 + 0x37]
  2675. 00001B12  6600 00F0                bne        +0xF2 /* 00001C04 */
  2676. 00001B16  7006                     moveq.l    D0, 0x06
  2677. 00001B18  3231 005A                move.w     D1, [A1 + D0.w + 0x5A]
  2678. 00001B1C  0C41 000C                cmpi.w     D1, 0xC
  2679. 00001B20  6DBE                     blt        -0x40 /* 00001AE0 */
  2680. 00001B22  6000 FBBA                bra        -0x444 /* 000016DE */
  2681. label00001B26:
  2682. 00001B26  0C02 0020                cmpi.b     D2, 0x20 /* ' ' */
  2683. 00001B2A  6602                     bne        +0x4 /* 00001B2E */
  2684. 00001B2C  7430                     moveq.l    D2, 0x30
  2685. label00001B2E:
  2686. 00001B2E  0402 0030                subi.b     D2, 0x30 /* '0' */
  2687. 00001B32  6B00 00D0                bmi        +0xD2 /* 00001C04 */
  2688. 00001B36  0C02 0009                cmpi.b     D2, 0x9 /* '\t' */
  2689. 00001B3A  6E00 00C8                bgt        +0xCA /* 00001C04 */
  2690. 00001B3E  224B                     movea.l    A1, A3
  2691. 00001B40  4AA9 002C                tst.l      [A1 + 0x2C]
  2692. 00001B44  6700 00BE                beq        +0xC0 /* 00001C04 */
  2693. 00001B48  6100 FEE6                bsr        -0x118 /* 00001A30 */
  2694. 00001B4C  7600                     moveq.l    D3, 0x00
  2695. 00001B4E  4A69 0034                tst.w      [A1 + 0x34]
  2696. 00001B52  6710                     beq        +0x12 /* 00001B64 */
  2697. 00001B54  0C40 0006                cmpi.w     D0, 0x6
  2698. 00001B58  660A                     bne        +0xC /* 00001B64 */
  2699. 00001B5A  0C71 000C 005A           cmpi.w     [A1 + D0.w + 0x5A], 0xC
  2700. 00001B60  6D02                     blt        +0x4 /* 00001B64 */
  2701. 00001B62  760C                     moveq.l    D3, 0x0C
  2702. label00001B64:
  2703. 00001B64  4A69 0044                tst.w      [A1 + 0x44]
  2704. 00001B68  6700 0090                beq        +0x92 /* 00001BFA */
  2705. 00001B6C  3231 005A                move.w     D1, [A1 + D0.w + 0x5A]
  2706. 00001B70  9203                     sub.b      D1, D3
  2707. 00001B72  C2FC 000A                mulu.w     D1, 0xA /* '\n' */
  2708. 00001B76  D202                     add.b      D1, D2
  2709. 00001B78  82FC 0064                divu.w     D1, 0x64 /* 'd' */
  2710. 00001B7C  4841                     swap.w     D1
  2711. label00001B7E:
  2712. 00001B7E  0C40 0006                cmpi.w     D0, 0x6
  2713. 00001B82  6618                     bne        +0x1A /* 00001B9C */
  2714. 00001B84  4A69 0034                tst.w      [A1 + 0x34]
  2715. 00001B88  6724                     beq        +0x26 /* 00001BAE */
  2716. 00001B8A  0C41 000C                cmpi.w     D1, 0xC
  2717. 00001B8E  6E6A                     bgt        +0x6C /* 00001BFA */
  2718. 00001B90  6706                     beq        +0x8 /* 00001B98 */
  2719. 00001B92  4A41                     tst.w      D1
  2720. 00001B94  676E                     beq        +0x70 /* 00001C04 */
  2721. 00001B96  6016                     bra        +0x18 /* 00001BAE */
  2722. label00001B98:
  2723. 00001B98  7200                     moveq.l    D1, 0x00
  2724. 00001B9A  6012                     bra        +0x14 /* 00001BAE */
  2725. label00001B9C:
  2726. 00001B9C  4A40                     tst.w      D0
  2727. 00001B9E  660E                     bne        +0x10 /* 00001BAE */
  2728. 00001BA0  0C41 0014                cmpi.w     D1, 0x14
  2729. 00001BA4  6E04                     bgt        +0x6 /* 00001BAA */
  2730. 00001BA6  0641 0064                addi.w     D1, 0x64 /* 'd' */
  2731. label00001BAA:
  2732. 00001BAA  0641 076C                addi.w     D1, 0x76C
  2733. label00001BAE:
  2734. 00001BAE  D243                     add.w      D1, D3
  2735. 00001BB0  3381 005A                move.w     [A1 + D0.w + 0x5A], D1
  2736. 00001BB4  48A7 D000                movem.w    -[A7], D0,D1,D3
  2737. 00001BB8  3F29 005C                move.w     -[A7], [A1 + 0x5C]
  2738. 00001BBC  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2739. 00001BC0  A9C7                     syscall    DateToSeconds/Date2Secs
  2740. 00001BC2  2F00                     move.l     -[A7], D0
  2741. 00001BC4  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2742. 00001BC8  A9C6                     syscall    SecondsToDate/Secs2Date
  2743. 00001BCA  205F                     movea.l    A0, [A7]+
  2744. 00001BCC  345F                     movea.w    A2, [A7]+
  2745. 00001BCE  4C9F 000B                movem.w    D0,D1,D3, [A7]+
  2746. 00001BD2  224B                     movea.l    A1, A3
  2747. 00001BD4  B271 005A                cmp.w      D1, [A1 + D0.w + 0x5A]
  2748. 00001BD8  6634                     bne        +0x36 /* 00001C0E */
  2749. 00001BDA  B4E9 005C                cmpa.w     A2, [A1 + 0x5C]
  2750. 00001BDE  662E                     bne        +0x30 /* 00001C0E */
  2751. 00001BE0  4669 0044                not.w      [A1 + 0x44]
  2752. 00001BE4  2348 002C                move.l     [A1 + 0x2C], A0
  2753. 00001BE8  6100 FD76                bsr        -0x288 /* 00001960 */
  2754. 00001BEC  6000 FAF0                bra        -0x50E /* 000016DE */
  2755. label00001BF0:
  2756. 00001BF0  244C                     movea.l    A2, A4
  2757. 00001BF2  6100 FB6C                bsr        -0x492 /* 00001760 */
  2758. 00001BF6  6000 FAE6                bra        -0x518 /* 000016DE */
  2759. label00001BFA:
  2760. 00001BFA  4269 0044                clr.w      [A1 + 0x44]
  2761. 00001BFE  3202                     move.w     D1, D2
  2762. 00001C00  6000 FF7C                bra        -0x82 /* 00001B7E */
  2763. label00001C04:
  2764. 00001C04  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2765. 00001C08  A9C8                     syscall    SysBeep
  2766. 00001C0A  6000 FAD2                bra        -0x52C /* 000016DE */
  2767. label00001C0E:
  2768. 00001C0E  3F00                     move.w     -[A7], D0
  2769. 00001C10  3F03                     move.w     -[A7], D3
  2770. 00001C12  2029 002C                move.l     D0, [A1 + 0x2C]
  2771. 00001C16  41E9 005A                lea.l      A0, [A1 + 0x5A]
  2772. 00001C1A  A9C6                     syscall    SecondsToDate/Secs2Date
  2773. 00001C1C  361F                     move.w     D3, [A7]+
  2774. 00001C1E  301F                     move.w     D0, [A7]+
  2775. 00001C20  4A69 0044                tst.w      [A1 + 0x44]
  2776. 00001C24  67DE                     beq        -0x20 /* 00001C04 */
  2777. 00001C26  60D2                     bra        -0x2C /* 00001BFA */
  2778. label00001C28:
  2779. 00001C28  204B                     movea.l    A0, A3
  2780. 00001C2A  4AA8 002C                tst.l      [A0 + 0x2C]
  2781. 00001C2E  67D4                     beq        -0x2A /* 00001C04 */
  2782. 00001C30  6100 FBB6                bsr        -0x448 /* 000017E8 */
  2783. 00001C34  204B                     movea.l    A0, A3
  2784. 00001C36  3028 0030                move.w     D0, [A0 + 0x30]
  2785. 00001C3A  3F00                     move.w     -[A7], D0
  2786. 00001C3C  6100 EDE4                bsr        -0x121A /* 00000A22 */
  2787. label00001C40:
  2788. 00001C40  301F                     move.w     D0, [A7]+
  2789. 00001C42  5440                     addq.w     D0, 2
  2790. 00001C44  0C40 0008                cmpi.w     D0, 0x8
  2791. 00001C48  6F02                     ble        +0x4 /* 00001C4C */
  2792. 00001C4A  7002                     moveq.l    D0, 0x02
  2793. label00001C4C:
  2794. 00001C4C  3F00                     move.w     -[A7], D0
  2795. 00001C4E  554F                     subq.w     A7, 2
  2796. 00001C50  6100 EDF4                bsr        -0x120A /* 00000A46 */
  2797. 00001C54  A8AE                     syscall    EmptyRect
  2798. 00001C56  4A1F                     tst.b      [A7]+
  2799. 00001C58  66E6                     bne        -0x18 /* 00001C40 */
  2800. 00001C5A  301F                     move.w     D0, [A7]+
  2801. 00001C5C  204B                     movea.l    A0, A3
  2802. 00001C5E  3140 0030                move.w     [A0 + 0x30], D0
  2803. 00001C62  4268 0044                clr.w      [A0 + 0x44]
  2804. 00001C66  6100 EDBA                bsr        -0x1244 /* 00000A22 */
  2805. 00001C6A  6000 FA72                bra        -0x58C /* 000016DE */
  2806. 00001C6E  0070 0119 0082           ori.w      [A0 + D0.w - 0x126], 0x119
  2807. 00001C74  0124                     btst       -[A4], D0
  2808. 00001C76  00BA 0119 00CC 0124      ori.l      [PC + 0x124 /* 00001D9C, value 0x486EFEE6 */], 0x11900CC
  2809. 00001C7E  0780                     bclr       D0, D3
  2810. 00001C80  0001 0001                ori.b      D1, 0x1
  2811. 00001C84  0000 0000                ori.b      D0, 0x0
  2812. 00001C88  0000 07E3                ori.b      D0, 0xE3
  2813. 00001C8C  000C 001F                ori.b      A4, 0x1F
  2814. 00001C90  0017 003B                ori.b      [A7], 0x3B /* ';' */
  2815. 00001C94  003B 0000 011B 0047 019E ori.b      [[PC + D0] + 0x47019E], 0x0
  2816. 00001C9E  0073 015D 0080           ori.w      [A3 + D0.w - 0x128], 0x15D
  2817. 00001CA4  015D                     bchg       [A5]+, D0
  2818. 00001CA6  0220 2000                andi.b     -[A0], 0x0
  2819. fn00001CAA:
  2820. 00001CAA  48E7 F0E0                movem.l    -[A7], D0,D1,D2,D3,A0,A1,A2
  2821. 00001CAE  224F                     movea.l    A1, A7
  2822. 00001CB0  43E9 001C                lea.l      A1, [A1 + 0x1C]
  2823. 00001CB4  2459                     movea.l    A2, [A1]+
  2824. 00001CB6  3619                     move.w     D3, [A1]+
  2825. 00001CB8  6750                     beq        +0x52 /* 00001D0A */
  2826. 00001CBA  554F                     subq.w     A7, 2
  2827. 00001CBC  A9AF                     syscall    ResError
  2828. 00001CBE  301F                     move.w     D0, [A7]+
  2829. 00001CC0  0C40 FFD3                cmpi.w     D0, 0xFFD3
  2830. 00001CC4  6602                     bne        +0x4 /* 00001CC8 */
  2831. 00001CC6  6006                     bra        +0x8 /* 00001CCE */
  2832. label00001CC8:
  2833. 00001CC8  0C40 FFD4                cmpi.w     D0, 0xFFD4
  2834. 00001CCC  662E                     bne        +0x30 /* 00001CFC */
  2835. label00001CCE:
  2836. 00001CCE  2F09                     move.l     -[A7], A1
  2837. 00001CD0  554F                     subq.w     A7, 2
  2838. 00001CD2  3F3C F030                move.w     -[A7], 0xF030
  2839. 00001CD6  42A7                     clr.l      -[A7]
  2840. 00001CD8  A986                     syscall    StopAlert
  2841. 00001CDA  544F                     addq.w     A7, 2
  2842. 00001CDC  225F                     movea.l    A1, [A7]+
  2843. 00001CDE  0C43 0002                cmpi.w     D3, 0x2
  2844. 00001CE2  660A                     bne        +0xC /* 00001CEE */
  2845. 00001CE4  4CDF 070F                movem.l    D0,D1,D2,D3,A0,A1,A2, [A7]+
  2846. 00001CE8  205F                     movea.l    A0, [A7]+
  2847. 00001CEA  548F                     addq.l     A7, 2
  2848. 00001CEC  4ED0                     jmp        [A0]
  2849. label00001CEE:
  2850. 00001CEE  6128                     bsr        +0x2A /* 00001D18 */
  2851. 00001CF0  377C 0003 0074           move.w     [A3 + 0x74], 0x3
  2852. 00001CF6  2657                     movea.l    A3, [A7]
  2853. 00001CF8  6000 E8CC                bra        -0x1732 /* 000005C6 */
  2854. label00001CFC:
  2855. 00001CFC  611A                     bsr        +0x1C /* 00001D18 */
  2856. 00001CFE  377C 0002 0074           move.w     [A3 + 0x74], 0x2
  2857. 00001D04  2657                     movea.l    A3, [A7]
  2858. 00001D06  6000 E8BE                bra        -0x1740 /* 000005C6 */
  2859. label00001D0A:
  2860. 00001D0A  610C                     bsr        +0xE /* 00001D18 */
  2861. 00001D0C  377C 0001 0074           move.w     [A3 + 0x74], 0x1
  2862. 00001D12  2657                     movea.l    A3, [A7]
  2863. 00001D14  6000 E8B0                bra        -0x174E /* 000005C6 */
  2864. fn00001D18:
  2865. 00001D18  281F                     move.l     D4, [A7]+
  2866. 00001D1A  4CDF 070F                movem.l    D0,D1,D2,D3,A0,A1,A2, [A7]+
  2867. label00001D1E:
  2868. 00001D1E  0C97 3598 9345           cmpi.l     [A7], 0x35989345
  2869. 00001D24  6704                     beq        +0x6 /* 00001D2A */
  2870. 00001D26  544F                     addq.w     A7, 2
  2871. 00001D28  60F4                     bra        -0xA /* 00001D1E */
  2872. label00001D2A:
  2873. 00001D2A  544F                     addq.w     A7, 2
  2874. 00001D2C  0C97 3598 9345           cmpi.l     [A7], 0x35989345
  2875. 00001D32  6702                     beq        +0x4 /* 00001D36 */
  2876. 00001D34  554F                     subq.w     A7, 2
  2877. label00001D36:
  2878. 00001D36  584F                     addq.w     A7, 4
  2879. 00001D38  0C97 5984 4403           cmpi.l     [A7], 0x59844403
  2880. 00001D3E  6704                     beq        +0x6 /* 00001D44 */
  2881. 00001D40  554F                     subq.w     A7, 2
  2882. 00001D42  60DA                     bra        -0x24 /* 00001D1E */
  2883. label00001D44:
  2884. 00001D44  584F                     addq.w     A7, 4
  2885. 00001D46  0C97 9978 2370           cmpi.l     [A7], 0x99782370
  2886. 00001D4C  6704                     beq        +0x6 /* 00001D52 */
  2887. 00001D4E  5D4F                     subq.w     A7, 6
  2888. 00001D50  60CC                     bra        -0x32 /* 00001D1E */
  2889. label00001D52:
  2890. 00001D52  9EFC 000C                sub.w      A7, 0xC
  2891. 00001D56  2044                     movea.l    A0, D4
  2892. 00001D58  2817                     move.l     D4, [A7]
  2893. 00001D5A  0C84 0000 0003           cmpi.l     D4, 0x3
  2894. 00001D60  6E0C                     bgt        +0xE /* 00001D6E */
  2895. 00001D62  B6FC 0003                cmpa.w     A3, 0x3
  2896. 00001D66  6F00 E442                ble        -0x1BBC /* 000001AA */
  2897. 00001D6A  2E8B                     move.l     [A7], A3
  2898. 00001D6C  6002                     bra        +0x4 /* 00001D70 */
  2899. label00001D6E:
  2900. 00001D6E  2657                     movea.l    A3, [A7]
  2901. label00001D70:
  2902. 00001D70  2653                     movea.l    A3, [A3]
  2903. 00001D72  4ED0                     jmp        [A0]
  2904. fn00001D74:
  2905. 00001D74  48E7 60C0                movem.l    -[A7], D1,D2,A0,A1
  2906. 00001D78  598F                     subq.l     A7, 4
  2907. 00001D7A  A975                     syscall    TickCount
  2908. 00001D7C  201F                     move.l     D0, [A7]+
  2909. 00001D7E  4CDF 0306                movem.l    D1,D2,A0,A1, [A7]+
  2910. 00001D82  4E75                     rts
  2911. fn00001D84:
  2912. 00001D84  377C 0001 00CE           move.w     [A3 + 0xCE], 0x1
  2913. 00001D8A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2914. 00001D8E  A9AA                     syscall    ChangedResource
  2915. 00001D90  2057                     movea.l    A0, [A7]
  2916. 00001D92  504F                     addq.w     A7, 8
  2917. 00001D94  4ED0                     jmp        [A0]
  2918. fn00001D96:
  2919. 00001D96  2F0A                     move.l     -[A7], A2
  2920. 00001D98  D047                     add.w      D0, D7
  2921. 00001D9A  3F00                     move.w     -[A7], D0
  2922. 00001D9C  486E FEE6                pea.l      [A6 - 0x11A]
  2923. 00001DA0  486E FEE2                pea.l      [A6 - 0x11E]
  2924. 00001DA4  486E FEDA                pea.l      [A6 - 0x126]
  2925. 00001DA8  A98D                     syscall    GetDialogItem/GetDItem
  2926. 00001DAA  4E75                     rts
  2927. fn00001DAC:
  2928. 00001DAC  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  2929. 00001DB2  6600 00C0                bne        +0xC2 /* 00001E74 */
  2930. 00001DB6  554F                     subq.w     A7, 2
  2931. 00001DB8  303C 0003                move.w     D0, 0x3
  2932. 00001DBC  A830                     syscall    Pack14
  2933. 00001DBE  4A1F                     tst.b      [A7]+
  2934. 00001DC0  6700 00B2                beq        +0xB4 /* 00001E74 */
  2935. 00001DC4  4E56 FEDA                link       A6, -0x0126
  2936. 00001DC8  486E FEEC                pea.l      [A6 - 0x114]
  2937. 00001DCC  A874                     syscall    GetPort
  2938. 00001DCE  594F                     subq.w     A7, 4
  2939. 00001DD0  A924                     syscall    FrontWindow
  2940. 00001DD2  201F                     move.l     D0, [A7]+
  2941. 00001DD4  B0AE FEEC                cmp.l      D0, [A6 - 0x114]
  2942. 00001DD8  6600 0094                bne        +0x96 /* 00001E6E */
  2943. 00001DDC  303C 001F                move.w     D0, 0x1F
  2944. 00001DE0  61B4                     bsr        -0x4A /* 00001D96 */
  2945. 00001DE2  2D6E FEDA FEF4           move.l     [A6 - 0x10C], [A6 - 0x126]
  2946. 00001DE8  303C 0026                move.w     D0, 0x26 /* '&' */
  2947. 00001DEC  61A8                     bsr        -0x56 /* 00001D96 */
  2948. 00001DEE  2D6E FEDE FEF8           move.l     [A6 - 0x108], [A6 - 0x122]
  2949. 00001DF4  486E FEE8                pea.l      [A6 - 0x118]
  2950. 00001DF8  A972                     syscall    GetMouse
  2951. 00001DFA  4267                     clr.w      -[A7]
  2952. 00001DFC  2F2E FEE8                move.l     -[A7], [A6 - 0x118]
  2953. 00001E00  486E FEF4                pea.l      [A6 - 0x10C]
  2954. 00001E04  A8AD                     syscall    PtInRect
  2955. 00001E06  101F                     move.b     D0, [A7]+
  2956. 00001E08  6764                     beq        +0x66 /* 00001E6E */
  2957. 00001E0A  4A6B 002A                tst.w      [A3 + 0x2A]
  2958. 00001E0E  6662                     bne        +0x64 /* 00001E72 */
  2959. 00001E10  41EE FEFC                lea.l      A0, [A6 - 0x104]
  2960. 00001E14  30BC 0003                move.w     [A0], 0x3
  2961. 00001E18  317C F020 0002           move.w     [A0 + 0x2], 0xF020
  2962. 00001E1E  317C 0003 0004           move.w     [A0 + 0x4], 0x3
  2963. 00001E24  202E FEF8                move.l     D0, [A6 - 0x108]
  2964. 00001E28  2D40 FEF0                move.l     [A6 - 0x110], D0
  2965. 00001E2C  516E FEF0                subq.w     [A6 - 0x110], 8
  2966. 00001E30  516E FEF2                subq.w     [A6 - 0x10E], 8
  2967. 00001E34  486E FEF0                pea.l      [A6 - 0x110]
  2968. 00001E38  A870                     syscall    LocalToGlobal
  2969. 00001E3A  486E FEF4                pea.l      [A6 - 0x10C]
  2970. 00001E3E  A870                     syscall    LocalToGlobal
  2971. 00001E40  486E FEF8                pea.l      [A6 - 0x108]
  2972. 00001E44  A870                     syscall    LocalToGlobal
  2973. 00001E46  554F                     subq.w     A7, 2
  2974. 00001E48  486E FEFC                pea.l      [A6 - 0x104]
  2975. 00001E4C  2F2E FEF0                move.l     -[A7], [A6 - 0x110]
  2976. 00001E50  486E FEF4                pea.l      [A6 - 0x10C]
  2977. 00001E54  7000                     moveq.l    D0, 0x00
  2978. 00001E56  2F00                     move.l     -[A7], D0
  2979. 00001E58  2F00                     move.l     -[A7], D0
  2980. 00001E5A  3F00                     move.w     -[A7], D0
  2981. 00001E5C  303C 0B01                move.w     D0, 0xB01
  2982. 00001E60  A830                     syscall    Pack14
  2983. 00001E62  4A5F                     tst.w      [A7]+
  2984. 00001E64  6608                     bne        +0xA /* 00001E6E */
  2985. 00001E66  377C 0001 002A           move.w     [A3 + 0x2A], 0x1
  2986. 00001E6C  6004                     bra        +0x6 /* 00001E72 */
  2987. label00001E6E:
  2988. 00001E6E  426B 002A                clr.w      [A3 + 0x2A]
  2989. label00001E72:
  2990. 00001E72  4E5E                     unlink     A6
  2991. label00001E74:
  2992. 00001E74  4E75                     rts
  2993.